Skip to content

Commit

Permalink
atmel-samd: Re-enable -Os (size) optimizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Aug 31, 2016
1 parent eff137a commit a6bc701
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions atmel-samd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit a6bc701

Please sign in to comment.