Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: export/makefile/make-gcc-arm.tmpl
- Revision:
- 35:da9c89f8be7d
- Parent:
- 31:8ea194f6145b
- Child:
- 40:7d3fa6b99b2b
--- a/export/makefile/make-gcc-arm.tmpl Mon Feb 13 09:29:13 2017 -0600
+++ b/export/makefile/make-gcc-arm.tmpl Wed Feb 15 13:53:18 2017 -0600
@@ -1,10 +1,6 @@
{% extends "makefile/Makefile.tmpl" %}
-{% block sys_libs %}
-{% for lib in ["-lstdc++", "-lsupc++", "-lm", "-lc", "-lgcc", "-lnosys"] -%}
-LD_SYS_LIBS += {{lib}}
-{% endfor %}
-{%- endblock %}
+{%- block sys_libs -%} -Wl,--start-group {{ld_sys_libs|join(" ")}} -Wl,--end-group {%- endblock -%}
{% block elf2bin %}
$(ELF2BIN) -O binary $< $@
