diff --git a/nds/Makefile b/nds/Makefile index 1679b98..6ea0412 100644 --- a/nds/Makefile +++ b/nds/Makefile @@ -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)