Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
8afb9b38
Commit
8afb9b38
authored
Sep 22, 2014
by
blmorris
Browse files
Incorporate change in assignment logic suggested by dhylands
parent
1fae7874
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/Makefile
View file @
8afb9b38
...
...
@@ -29,13 +29,16 @@ else
COPT
=
-Os
#-DNDEBUG
endif
LDFLAGS
=
$(LDFLAGS_MOD)
-lm
-Wl
,-Map
=
$@
.map,--cref
$(LDFLAGS_EXTRA)
LDFLAGS
=
$(LDFLAGS_MOD)
-lm
-Wl
$(LDFLAGS_MAP_EXTRA)
$(LDFLAGS_EXTRA)
ifeq
($(UNAME_S),Darwin)
# Force OSX to use clang even if gcc is present, value set in mkenv.mk
# must be ovewritten here to avoid breaking stmhal build on OSX
CC
=
clang
# Use clang syntax for LDFLAGS
LDFLAGS
=
$(LDFLAGS_MOD)
-lm
-Wl
,-map,
$@
.map
$(LDFLAGS_EXTRA)
LDFLAGS_MAP_EXTRA
=
,-map,
$@
.map
else
# Use gcc syntax
LDFLAGS_MAP_EXTRA
=
,-Map
=
$@
.map,--cref
endif
ifeq
($(MICROPY_FORCE_32BIT),1)
...
...
Write
Preview
Supports
Markdown
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