Merge pull request #414 from robertfoss/master
Add -Os flag to release and debug builds
This commit is contained in:
commit
0ad574705d
|
@ -53,11 +53,11 @@ TARGET_LDFLAGS = \
|
|||
--text-section-literals
|
||||
|
||||
ifeq ($(FLAVOR),debug)
|
||||
TARGET_LDFLAGS += -g -O2
|
||||
TARGET_LDFLAGS += -g -Os
|
||||
endif
|
||||
|
||||
ifeq ($(FLAVOR),release)
|
||||
TARGET_LDFLAGS += -g -O0
|
||||
TARGET_LDFLAGS += -Os
|
||||
endif
|
||||
|
||||
LD_FILE = $(LDDIR)/eagle.app.v6.ld
|
||||
|
|
Loading…
Reference in New Issue