]> Chaos Git - corbenik/ctrulib.git/commitdiff
Update Makefiles for devkitARM r45
authorfincs <fincs.alt1@gmail.com>
Sun, 29 Nov 2015 19:56:33 +0000 (20:56 +0100)
committerfincs <fincs.alt1@gmail.com>
Mon, 7 Dec 2015 10:44:36 +0000 (11:44 +0100)
22 files changed:
examples/app_launch/Makefile
examples/audio/mic/Makefile
examples/camera/image/Makefile
examples/camera/video/Makefile
examples/get_system_language/Makefile
examples/graphics/printing/both-screen-text/Makefile
examples/graphics/printing/colored-text/Makefile
examples/graphics/printing/hello-world/Makefile
examples/graphics/printing/multiple-windows-text/Makefile
examples/http/Makefile
examples/input/read-controls/Makefile
examples/input/touch-screen/Makefile
examples/libapplet_launch/Makefile
examples/mvd/Makefile
examples/qtm/Makefile
examples/romfs/Makefile
examples/sdmc/Makefile
examples/templates/application/Makefile
examples/templates/library/Makefile
examples/threads/event/Makefile
examples/threads/thread-basic/Makefile
examples/time/rtc/Makefile

index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 6db27db027031ccb91a984a2f2f64ad4f4703e46..a56a373e351ad849931b8a7e5be76c2e3ffc2c92 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------\r
 # options for code generation\r
 #---------------------------------------------------------------------------------\r
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard\r
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft\r
 \r
 CFLAGS :=      -g -Wall -O2 -mword-relocations \\r
                        -fomit-frame-pointer -ffunction-sections \\r
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11\r
 \r
 ASFLAGS        :=      -g $(ARCH)\r
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections\r
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)\r
 \r
 LIBS   := -lctru -lm\r
 \r
index 6db27db027031ccb91a984a2f2f64ad4f4703e46..a56a373e351ad849931b8a7e5be76c2e3ffc2c92 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------\r
 # options for code generation\r
 #---------------------------------------------------------------------------------\r
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard\r
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft\r
 \r
 CFLAGS :=      -g -Wall -O2 -mword-relocations \\r
                        -fomit-frame-pointer -ffunction-sections \\r
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11\r
 \r
 ASFLAGS        :=      -g $(ARCH)\r
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections\r
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)\r
 \r
 LIBS   := -lctru -lm\r
 \r
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 949e44f36a21a21e257b581acc07a37aa85787c0..8f0d372f238a7e9bd75343e53a5171f3202b2efc 100644 (file)
@@ -37,7 +37,7 @@ ROMFS         :=      romfs
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 3ea616cc82399daa37a02bb3c281c976af1f62b0..d982f90ad893795bc034541b12dee26722492d0a 100644 (file)
@@ -24,7 +24,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm
 
index 504d5c7e75381b1fbd9c673a7e412d1a13265b60..4f5cda2d3770d6812e1cfc5c4ad00b8ce23caa31 100644 (file)
@@ -37,7 +37,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffunction-sections \
@@ -48,7 +48,7 @@ CFLAGS        +=      $(INCLUDE) -DARM11 -D_3DS
 CXXFLAGS       := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
 
 ASFLAGS        :=      -g $(ARCH)
-LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -Wl,--gc-sections
+LDFLAGS        =       -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
 
 LIBS   := -lctru -lm