mirror of https://github.com/ARMmbed/mbed-os.git
fix unresolved linker msg: __wrap_
adding libraries to gcc linker group commandpull/4889/head
parent
5bc33afed2
commit
be72993ee2
|
@ -200,7 +200,7 @@ class GccArm(Makefile):
|
|||
|
||||
@staticmethod
|
||||
def prepare_lib(libname):
|
||||
return "-l:" + libname
|
||||
return "-l" + libname[3:-2]
|
||||
|
||||
@staticmethod
|
||||
def prepare_sys_lib(libname):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "makefile/Makefile.tmpl" %}
|
||||
|
||||
{%- block sys_libs -%} -Wl,--start-group {{ld_sys_libs|join(" ")}} -Wl,--end-group {%- endblock -%}
|
||||
{%- block sys_libs -%} -Wl,--start-group {{ld_sys_libs|join(" ")}} {{libraries|join(" ")}} -Wl,--end-group {%- endblock -%}
|
||||
|
||||
{% block elf2bin %}
|
||||
$(ELF2BIN) -O binary $< $@
|
||||
|
|
Loading…
Reference in New Issue