From ed8aee8b8ce49992d4a98f24202253cd65fea99e Mon Sep 17 00:00:00 2001 From: TuxSH Date: Mon, 13 Feb 2017 01:20:44 +0100 Subject: [PATCH] Remove custom 3dsx.ld dependency Thanks to @WinterMute --- injector/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/injector/Makefile b/injector/Makefile index b56551c..7fec0da 100755 --- a/injector/Makefile +++ b/injector/Makefile @@ -21,7 +21,7 @@ INCLUDE := $(foreach dir,$(LIBDIRS),-I$(dir)/include) ASFLAGS := -mcpu=mpcore -mfloat-abi=hard CFLAGS := -Wall -Wextra $(ASFLAGS) -fno-builtin -std=c11 -O2 -flto -ffast-math $(INCLUDE) -DARM11 -D_3DS -LDFLAGS := -Xlinker --defsym="__start__=0x14000000" -specs=3dsx.specs $(ASFLAGS) +LDFLAGS := -specs=3dsx.specs $(ASFLAGS) -Wl,--section-start,.text=0x14000000 objects = $(patsubst $(dir_source)/%.c, $(dir_build)/%.o, \ $(call rwildcard, $(dir_source), *.s *.c))