mirror of https://github.com/ARMmbed/mbed-os.git
gcc makefile - use group for ld to resolve symbols from libraries
parent
8681a8d53e
commit
58e47dc500
|
@ -81,7 +81,7 @@ clean:
|
|||
|
||||
{% block target_project_elf %}
|
||||
$(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS)
|
||||
$(LD) $(LD_FLAGS) -T$(LINKER_SCRIPT) $(LIBRARY_PATHS) -o $@ $^ $(LIBRARIES) $(LD_SYS_LIBS) $(LIBRARIES) $(LD_SYS_LIBS)
|
||||
$(LD) $(LD_FLAGS) -T$(LINKER_SCRIPT) $(LIBRARY_PATHS) -o $@ $^ -Wl,--start-group $(LIBRARIES) $(LD_SYS_LIBS) -Wl,--end-group
|
||||
{% endblock %}
|
||||
|
||||
$(PROJECT).bin: $(PROJECT).elf
|
||||
|
|
Loading…
Reference in New Issue