diff options
author | Martin Müller <mail@mueller-martin.net> | 2016-06-25 17:59:49 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-06-27 22:31:55 +0100 |
commit | f2892bd77da5f7adbad3d83bb6e0898af224975b (patch) | |
tree | c272b01ba48b1aa696ca86ce7243de88f64efd0d /tests/thread/thread_exit1.py | |
parent | ab8a5d51999b5c9214004200a8e0528caf160cc6 (diff) | |
download | micropython-f2892bd77da5f7adbad3d83bb6e0898af224975b.tar.gz micropython-f2892bd77da5f7adbad3d83bb6e0898af224975b.zip |
unix: Fix Makefile to handle gc-sections linker flags on Mac OS.
The linker flag --gc-sections is not available on the linker used on
Mac OS X which results in an error when linking micropython on Mac OS X.
Therefore move this option to the LDFLAGS_ARCH variable on non Darwin
systems. According to http://stackoverflow.com/a/17710056 the equivalent
to --gc-sections is -dead_strip thus this option is used for the
LDFLAGS_ARCH on Darwin systems.
Diffstat (limited to 'tests/thread/thread_exit1.py')
0 files changed, 0 insertions, 0 deletions