Skip to content

Commit b554bc5

Browse files
author
Ilya Dmitrichenko
committed
qemu-arm: update makefile (d553be5).
1 parent 2face99 commit b554bc5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

qemu-arm/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ include ../py/py.mk
99

1010
CROSS_COMPILE = arm-none-eabi-
1111

12+
INC = -I.
13+
INC += -I$(PY_SRC)
14+
INC += -I$(BUILD)
15+
1216
CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3
13-
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) \
1418
-flto -ffunction-sections -fdata-sections
1519

1620
#Debugging/Optimization

0 commit comments

Comments
 (0)