Skip to content

Commit f3c7b94

Browse files
oreo639fincs
authored andcommitted
Update makefiles
1 parent b6a6c4f commit f3c7b94

File tree

58 files changed

+123
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+123
-116
lines changed

app_launch/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

audio/filters/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

audio/mic/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

audio/modplug-decoding/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ CFLAGS := -g -Wall -O2 -mword-relocations \
5050
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

5757
ASFLAGS := -g $(ARCH)
5858
LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
5959

60-
LIBS := `$(PREFIX)pkg-config --libs libmodplug` -lz -lctru -lm
60+
LIBS := `$(PREFIX)pkg-config --libs libmodplug` -lctru -lm
6161

6262
#---------------------------------------------------------------------------------
6363
# list of directories containing libraries, this must be the top level containing

audio/opus-decoding/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ CFLAGS := -g -Wall -O2 -mword-relocations \
5050
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS `$(PREFIX)pkg-config opusfile --cflags`
53+
CFLAGS += $(INCLUDE) -D__3DS__ `$(PREFIX)pkg-config opusfile --cflags`
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

audio/streaming/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

camera/image/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

camera/video/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

get_system_language/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ GFXBUILD := $(BUILD)
4747
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
4848

4949
CFLAGS := -g -Wall -O2 -mword-relocations \
50-
-fomit-frame-pointer -ffunction-sections \
50+
-ffunction-sections \
5151
$(ARCH)
5252

53-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
53+
CFLAGS += $(INCLUDE) -D__3DS__
5454

5555
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5656

graphics/bitmap/24bit-color/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ CFLAGS := -g -Wall -O2 -mword-relocations \
4242
-ffunction-sections \
4343
$(ARCH)
4444

45-
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
45+
CFLAGS += $(INCLUDE) -D__3DS__
4646

4747
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
4848

0 commit comments

Comments
 (0)