Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 78ca2bd

Browse files
fincsWinterMute
authored andcommitted
Add dead code elimination options
1 parent 9e2f91d commit 78ca2bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nds/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ LIB := $(TOPDIR)/nds/lib
2626
#---------------------------------------------------------------------------------
2727
ARCH := -mthumb -mthumb-interwork
2828

29-
CFLAGS := -g -Wall -O2\
29+
CFLAGS := -g -Wall -O2 \
30+
-ffunction-sections -fdata-sections \
3031
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer\
3132
-ffast-math \
3233
$(ARCH)

0 commit comments

Comments
 (0)