Merge pull request #414 from robertfoss/master

Add -Os flag to release and debug builds
This commit is contained in:
Vowstar 2015-05-15 12:09:32 +08:00
commit 0ad574705d
1 changed files with 2 additions and 2 deletions

View File

@ -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