summaryrefslogtreecommitdiff
path: root/arch/i386/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/config.mk')
-rw-r--r--arch/i386/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/config.mk b/arch/i386/config.mk
index 8743f1a..3fb97c1 100644
--- a/arch/i386/config.mk
+++ b/arch/i386/config.mk
@@ -35,5 +35,6 @@ PLATFORM_CPPFLAGS += $(call cc-option, -fno-stack-protector)
PLATFORM_CPPFLAGS += $(call cc-option, -mpreferred-stack-boundary=2)
PLATFORM_CPPFLAGS += -DCONFIG_I386 -D__I386__
-LDFLAGS += --cref --gc-sections
+LDFLAGS += --cref
+LDFLAGS_u-boot += --gc-sections
PLATFORM_RELFLAGS += -ffunction-sections