aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 7af51a798..85c707c56 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -267,7 +267,7 @@ ifeq ($(strip $(CONFIG_DEBUG)),y)
else
CFLAGS +=-DNDEBUG
CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,)
- CHECKED_LDFLAGS += $(call check_ld,--gc-sections,)
+ CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,)
endif
ifneq ($(strip $(CONFIG_DEBUG_PESSIMIZE)),y)