diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg')
-rw-r--r-- | c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg b/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg index d724b5dd1e..dadb275a04 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2100.cfg @@ -8,11 +8,14 @@ RTEMS_CPU=powerpc RTEMS_CPU_MODEL=mpc8240 # This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. +# and (hopefully) optimize for it. CPU_CFLAGS = -mcpu=603e -Dppc603e # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections define bsp-post-link $(default-bsp-post-link) |