summaryrefslogtreecommitdiff
path: root/uisimulator/uisimulator.make
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/uisimulator.make')
-rw-r--r--uisimulator/uisimulator.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/uisimulator.make b/uisimulator/uisimulator.make
index 8756ac65b7..2641353bc9 100644
--- a/uisimulator/uisimulator.make
+++ b/uisimulator/uisimulator.make
@@ -31,7 +31,7 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP)
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(VOICESPEEXLIB) $(CORE_LIBS) $(SIMLIB)
- $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(GLOBAL_LDOPTS) \
+ $(call PRINTS,LD $(BINARY))$(CC) -o $@ -Wl,--start-group $^ -Wl,--end-group $(LDOPTS) $(GLOBAL_LDOPTS) \
-Wl,-Map,$(BUILDDIR)/rockbox.map
$(SILENT)$(call objcopy,$@,$@)