diff --git a/Makefile b/Makefile index ec3a227..4925ffa 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,9 @@ INCLUDES := include source source/fatfs source/nand #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -mthumb -mthumb-interwork +ARCH := -mthumb -mthumb-interwork -flto -CFLAGS := -g -Wall -O2\ +CFLAGS := -g -Wall -O2 -flto\ -march=armv5te -mtune=arm946e-s -fomit-frame-pointer\ -ffast-math -std=c99\ $(ARCH)