diff options
-rw-r--r-- | bsps/powerpc/qemuppc/config/qemuppc.cfg | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bsps/powerpc/qemuppc/config/qemuppc.cfg b/bsps/powerpc/qemuppc/config/qemuppc.cfg index 5e919c1b9f..1fd28c8ecb 100644 --- a/bsps/powerpc/qemuppc/config/qemuppc.cfg +++ b/bsps/powerpc/qemuppc/config/qemuppc.cfg @@ -13,10 +13,9 @@ CPU_CFLAGS = -mcpu=603e # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions -# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2564. # 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 define bsp-post-link $(default-bsp-post-link) |