1 parent 2face99 commit b554bc5Copy full SHA for b554bc5
1 file changed
qemu-arm/Makefile
@@ -9,8 +9,12 @@ include ../py/py.mk
9
10
CROSS_COMPILE = arm-none-eabi-
11
12
+INC = -I.
13
+INC += -I$(PY_SRC)
14
+INC += -I$(BUILD)
15
+
16
CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3
-CFLAGS = -I. -I$(PY_SRC) -Wall -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \
17
+CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \
18
-flto -ffunction-sections -fdata-sections
19
20
#Debugging/Optimization
0 commit comments