mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
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
|
# 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\
|
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer\
|
||||||
-ffast-math -std=c99\
|
-ffast-math -std=c99\
|
||||||
$(ARCH)
|
$(ARCH)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user