qemu-arm: update makefile (d553be5).

This commit is contained in:
Ilya Dmitrichenko 2014-04-21 21:08:15 +01:00
parent 2face99cfe
commit b554bc5691

View File

@ -9,8 +9,12 @@ include ../py/py.mk
CROSS_COMPILE = arm-none-eabi- CROSS_COMPILE = arm-none-eabi-
INC = -I.
INC += -I$(PY_SRC)
INC += -I$(BUILD)
CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3 CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3
CFLAGS = -I. -I$(PY_SRC) -Wall -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \ CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \
-flto -ffunction-sections -fdata-sections -flto -ffunction-sections -fdata-sections
#Debugging/Optimization #Debugging/Optimization