Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
6f31a202
Commit
6f31a202
authored
May 01, 2015
by
cal
Browse files
Makefile fix: "-Os" was overridden by "-O2"
parent
32e9ac20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6f31a202
...
...
@@ -103,9 +103,15 @@ OIMAGES := $(GEN_IMAGES:%=$(IMAGEODIR)/%)
BINODIR
:=
$(ODIR)
/
$(TARGET)
/
$(FLAVOR)
/bin
OBINS
:=
$
(
GEN_BINS:%
=
$(BINODIR)
/%
)
#
# Note:
# https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
# If you add global optimize options like "-O2" here
# they will override "-Os" defined above.
# "-Os" should be used to reduce code size
#
CCFLAGS
+=
\
-g
\
-O2
\
-Wpointer-arith
\
-Wundef
\
-Werror
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment