diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-05 00:23:10 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-05 00:23:10 +0300 |
commit | 3ccdbf792cb04fb5561dae52839b51a854f75808 (patch) | |
tree | 16b06176ab4044e357782f33928f5db53899d9ba | |
parent | 50e8e28f96416d5b47381dd1517fbfc8993757d4 (diff) | |
download | micropython-3ccdbf792cb04fb5561dae52839b51a854f75808.tar.gz micropython-3ccdbf792cb04fb5561dae52839b51a854f75808.zip |
zephyr/Makefile: Add -fomit-frame-pointer.
Somehow, Zephyr uses -fno-omit-frame-pointer, whch bloats code size
considerably (+5K for minimal ARM Thumb2 build).
-rw-r--r-- | zephyr/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/Makefile b/zephyr/Makefile index 8aa6d5ae49..9ddf121250 100644 --- a/zephyr/Makefile +++ b/zephyr/Makefile @@ -54,7 +54,7 @@ SRC_QSTR += $(SRC_C) OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) CFLAGS = $(KBUILD_CFLAGS) $(NOSTDINC_FLAGS) $(ZEPHYRINCLUDE) \ - -std=gnu99 -DNDEBUG -DMICROPY_HEAP_SIZE=$(MICROPY_HEAP_SIZE) $(CFLAGS_EXTRA) $(INC) + -std=gnu99 -fomit-frame-pointer -DNDEBUG -DMICROPY_HEAP_SIZE=$(MICROPY_HEAP_SIZE) $(CFLAGS_EXTRA) $(INC) include ../py/mkrules.mk |