atmel-samd: Re-enable -Os (size) optimizations.
This commit is contained in:
parent
eff137a5f5
commit
a6bc701917
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user