Add -fdata-sections in memory.sh too

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-18 16:52:20 +00:00
parent 129e41322b
commit 47e0214d2c

View file

@ -12,7 +12,7 @@ CONFIG_H='include/polarssl/config.h'
CLIENT='mini_client'
CFLAGS_EXEC='-fno-asynchronous-unwind-tables -Wl,--gc-section -ffunction-sections'
CFLAGS_EXEC='-fno-asynchronous-unwind-tables -Wl,--gc-section -ffunction-sections -fdata-sections'
CFLAGS_MEM=-g3
if [ -r $CONFIG_H ]; then :; else