diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-28 21:30:17 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-28 21:30:17 +0100 |
commit | 2def26d561b14f0fd86486dd514819c7d9c743b2 (patch) | |
tree | f5f7d1aa778a8f12b35e95df8db2f67da0c47ebd | |
parent | f05f4323f4ee4b85877ed86b01fdb93022dd9645 (diff) |
Having ld optimizing isn't that much of a good idea actually.
-rw-r--r-- | target-rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-rules.mk b/target-rules.mk index d40f573..3d73a5c 100644 --- a/target-rules.mk +++ b/target-rules.mk @@ -17,7 +17,7 @@ endif $(TARGET_ELF): $(TARGET_OBJS) $(LIBDEPS) $(LDSCRIPT) $(E) "[TL] Linking $@" - $(Q)$(TARGET_LD) -Wl,--gc-sections -Wl,-O3 -Wl,-Map=$(TARGET_MAP) -o $@ $(TARGET_OBJS) -g -T$(LDSCRIPT) $(LIBS) + $(Q)$(TARGET_LD) -Wl,--gc-sections -Wl,-Map=$(TARGET_MAP) -o $@ $(TARGET_OBJS) $(TARGET_LDFLAGS) -g -T$(LDSCRIPT) $(LIBS) $(TARGET_MAP): $(TARGET_ELF) |