atmel-samd: Re-enable -Os (size) optimizations.

This commit is contained in:
Scott Shawcroft 2016-08-31 00:16:39 -07:00
parent eff137a5f5
commit a6bc701917

View File

@ -81,43 +81,7 @@ endif
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -ggdb
else
# was -Os
CFLAGS += -O1 -ggdb -DNDEBUG
# CFLAGS += -O0 \
# -ftree-ter \
# -ftree-sra \
# -ftree-slsr \
# -ftree-sink \
# -ftree-pta \
# -ftree-fre \
# -ftree-dse \
# -ftree-dominator-opts \
# -ftree-dce \
# -ftree-copyrename \
# -ftree-copy-prop \
# -ftree-ch \
# -ftree-ccp \
# -ftree-bit-ccp \
# -fsplit-wide-types \
# -fshrink-wrap \
# -fsection-anchors \
# -fsched-pressure \
# -fomit-frame-pointer \
# -fmove-loop-invariants \
# -fmerge-constants \
# -fipa-reference \
# -fipa-pure-const \
# -fipa-profile \
# -finline-functions-called-once \
# -fif-conversion \
# -fif-conversion2 \
# -fguess-branch-probability \
# -fforward-propagate \
# -fdefer-pop \
# -fcprop-registers \
# -fcompare-elim \
# -fcombine-stack-adjustments \
# -fbranch-count-reg
CFLAGS += -Os -DNDEBUG
endif
LIBS =