diff options
| author | hathach <[email protected]> | 2019-11-20 16:06:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-11-20 16:06:40 +0700 |
| commit | f638594536643a69200ddca60fe5138447655fbb (patch) | |
| tree | cb395067ca5ddf37cbd8e25c133ebb3efdc6e11c /examples | |
| parent | 1aa3f085cb0dd2c147e0376f69e4b92f208a14c6 (diff) | |
move -flto to board.mk
current board that doesn work with flto is spresense and mimxrt10xx (due
to xip image_vector_table is optimized out).
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make.mk | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/make.mk b/examples/make.mk index edf5c1f52..12ce3fd0c 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -85,12 +85,7 @@ CFLAGS += \ ifeq ($(DEBUG), 1) CFLAGS += -Og -ggdb else - ifneq ($(BOARD),spresense) - #CFLAGS += -flto -Os - CFLAGS += -Os - else - CFLAGS += -Os - endif + CFLAGS += -Os endif # TUSB Logging option |
