diff options
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc index 7293ec007d..023d6efef4 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc +++ b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc @@ -18,3 +18,6 @@ CPU_CFLAGS = -mcpu=603e -meabi -msdata=sysv -fno-common -mstrict-align # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |