summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2016-08-31 00:16:39 -0700
committerScott Shawcroft <scott@chickadee.tech>2016-08-31 00:16:39 -0700
commita6bc701917d40a2c7c87baf2f33217623681b84f (patch)
tree7717992fe11661ba6722241044c018af2ca62e35
parenteff137a5f5a897fa6ce2734db29c6cce1d85e1f1 (diff)
atmel-samd: Re-enable -Os (size) optimizations.
-rw-r--r--atmel-samd/Makefile38
1 files changed, 1 insertions, 37 deletions
diff --git a/atmel-samd/Makefile b/atmel-samd/Makefile
index ebb196f5a..9e02d7f73 100644
--- a/atmel-samd/Makefile
+++ b/atmel-samd/Makefile
@@ -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 =