Add dead code elimination options

This commit is contained in:
fincs 2017-01-10 01:06:20 +01:00 committed by Dave Murphy
parent 9e2f91dee6
commit 78ca2bd297

View File

@ -26,7 +26,8 @@ LIB := $(TOPDIR)/nds/lib
#---------------------------------------------------------------------------------
ARCH := -mthumb -mthumb-interwork
CFLAGS := -g -Wall -O2\
CFLAGS := -g -Wall -O2 \
-ffunction-sections -fdata-sections \
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer\
-ffast-math \
$(ARCH)