diff options
-rw-r--r-- | bsps/m68k/mcf5225x/config/mcf5225x.cfg | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bsps/m68k/mcf5225x/config/mcf5225x.cfg b/bsps/m68k/mcf5225x/config/mcf5225x.cfg index d195e46199..7d2fe0b2a5 100644 --- a/bsps/m68k/mcf5225x/config/mcf5225x.cfg +++ b/bsps/m68k/mcf5225x/config/mcf5225x.cfg @@ -10,16 +10,15 @@ include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_BSP_FAMILY=mcf5225x # This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. +# and (hopefully) optimize for it. CPU_CFLAGS = -mcpu=52235 $(PROJECT_FLAGS) # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer -# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2568. # 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 # This defines the operations performed on the linked executable. # is currently required. |