forked from Mirror/GodMode9
Use build flag -flto
This commit is contained in:
parent
0d521004a1
commit
a9f89d3503
4
Makefile
4
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user