Makefile: Move architecture flags into the ARCH variable
This commit is contained in:
parent
9f711deb48
commit
bf19ebc428
4
Makefile
4
Makefile
@ -29,10 +29,10 @@ INCLUDES := source
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
ARCH := -mthumb -mthumb-interwork
|
ARCH := -march=armv5te -mtune=arm946e-s -mthumb -mthumb-interwork
|
||||||
|
|
||||||
CFLAGS := -g -Wall -O2\
|
CFLAGS := -g -Wall -O2\
|
||||||
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer\
|
-fomit-frame-pointer\
|
||||||
-ffast-math -std=c99\
|
-ffast-math -std=c99\
|
||||||
$(ARCH)
|
$(ARCH)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user