summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/m68k/mcf5206elite/config/mcf5206elite.cfg5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsps/m68k/mcf5206elite/config/mcf5206elite.cfg b/bsps/m68k/mcf5206elite/config/mcf5206elite.cfg
index 258727b9be..079e49253c 100644
--- a/bsps/m68k/mcf5206elite/config/mcf5206elite.cfg
+++ b/bsps/m68k/mcf5206elite/config/mcf5206elite.cfg
@@ -15,7 +15,6 @@ CPU_CFLAGS = -mcpu=5206
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2572.
# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections