diff options
Diffstat (limited to 'c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg')
-rw-r--r-- | c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg b/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg index fafcbd5bed..a8d9fd3647 100644 --- a/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg +++ b/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg @@ -13,3 +13,7 @@ CPU_CFLAGS = -mcpu=xscale # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g + +# Add CFLAGS and LDFLAGS for compiling and linking with per item sections +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +LDFLAGS = -Wl,--gc-sections |