diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg')
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg b/c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg index 713c297c3a..5cf0206882 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg +++ b/c/src/lib/libbsp/powerpc/virtex4/make/custom/virtex4.cfg @@ -10,6 +10,9 @@ CPU_CFLAGS = -mcpu=405 -Dppc405 # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections # Miscellaneous additions go here define bsp-post-link |