diff options
| author | hathach <[email protected]> | 2019-10-09 11:03:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-10-09 11:03:55 +0700 |
| commit | c42edc080cb61d4af8015df6c1d404273b3a5bfa (patch) | |
| tree | ab6eaf9b92a41dc1937314646bce457e414c5f96 /examples/make.mk | |
| parent | f86f0e54a97d41f628e551c4c45f064665db627b (diff) | |
| parent | b3a5bb3247dfac081a01ccb22498ee2f50e365b4 (diff) | |
Merge branch 'master' into develop
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk index 22d8f7455..699cc43d6 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -80,5 +80,9 @@ CFLAGS += \ ifeq ($(DEBUG), 1) CFLAGS += -O0 -ggdb -DCFG_TUSB_DEBUG=1 else +ifneq ($(BOARD), spresense) CFLAGS += -flto -Os +else + CFLAGS += -Os +endif endif |
