mbedtls: add --function-sections and --data-sections to CFLAGS
authorFelix Fietkau <nbd@nbd.name>
Tue, 21 Feb 2017 13:33:14 +0000 (14:33 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Feb 2017 15:05:03 +0000 (16:05 +0100)
commit7df0069bb5c51907ba54a5342c755ad8e19e57a9
treea70e9b654e556cfa06bcc0e01f27996e7226f42a
parentadeae0e02a8cd0e67fc5ba549591fefb056011e7
mbedtls: add --function-sections and --data-sections to CFLAGS

This allows binaries that links these libraries statically to be reduced
by using --gc-sections on link

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/libs/mbedtls/Makefile