Skip to content

Commit a6bc701

Browse files
committed
atmel-samd: Re-enable -Os (size) optimizations.
1 parent eff137a commit a6bc701

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

atmel-samd/Makefile

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -81,43 +81,7 @@ endif
8181
ifeq ($(DEBUG), 1)
8282
CFLAGS += -O0 -ggdb
8383
else
84-
# was -Os
85-
CFLAGS += -O1 -ggdb -DNDEBUG
86-
# CFLAGS += -O0 \
87-
# -ftree-ter \
88-
# -ftree-sra \
89-
# -ftree-slsr \
90-
# -ftree-sink \
91-
# -ftree-pta \
92-
# -ftree-fre \
93-
# -ftree-dse \
94-
# -ftree-dominator-opts \
95-
# -ftree-dce \
96-
# -ftree-copyrename \
97-
# -ftree-copy-prop \
98-
# -ftree-ch \
99-
# -ftree-ccp \
100-
# -ftree-bit-ccp \
101-
# -fsplit-wide-types \
102-
# -fshrink-wrap \
103-
# -fsection-anchors \
104-
# -fsched-pressure \
105-
# -fomit-frame-pointer \
106-
# -fmove-loop-invariants \
107-
# -fmerge-constants \
108-
# -fipa-reference \
109-
# -fipa-pure-const \
110-
# -fipa-profile \
111-
# -finline-functions-called-once \
112-
# -fif-conversion \
113-
# -fif-conversion2 \
114-
# -fguess-branch-probability \
115-
# -fforward-propagate \
116-
# -fdefer-pop \
117-
# -fcprop-registers \
118-
# -fcompare-elim \
119-
# -fcombine-stack-adjustments \
120-
# -fbranch-count-reg
84+
CFLAGS += -Os -DNDEBUG
12185
endif
12286

12387
LIBS =

0 commit comments

Comments
 (0)