diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg index 110316fc0f..814526d9ac 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg +++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg @@ -10,3 +10,6 @@ CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \ -D__ppc_generic CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections