summaryrefslogtreecommitdiff
path: root/arch/m68k/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/config.mk')
-rw-r--r--arch/m68k/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/config.mk b/arch/m68k/config.mk
index a27a5245fe..88b1a409f2 100644
--- a/arch/m68k/config.mk
+++ b/arch/m68k/config.mk
@@ -10,7 +10,7 @@ endif
CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
PLATFORM_CPPFLAGS += -D__M68K__
-PLATFORM_LDFLAGS += -n
+KBUILD_LDFLAGS += -n
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
LDFLAGS_FINAL += --gc-sections