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
4c2ad0f5
Commit
4c2ad0f5
authored
May 14, 2015
by
robertfoss
Browse files
Add -Os flag to release and debug builds
To fit the build on boards with 512K of flash, build using -Os flag.
parent
92c98c52
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Makefile
View file @
4c2ad0f5
...
...
@@ -53,11 +53,11 @@ TARGET_LDFLAGS = \
--text-section-literals
ifeq
($(FLAVOR),debug)
TARGET_LDFLAGS
+=
-g
-O
2
TARGET_LDFLAGS
+=
-g
-O
s
endif
ifeq
($(FLAVOR),release)
TARGET_LDFLAGS
+=
-
g
-O0
TARGET_LDFLAGS
+=
-
Os
endif
LD_FILE
=
$(LDDIR)
/eagle.app.v6.ld
...
...
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