From 1c73e574f109a17566db99e399bdf86007488d2a Mon Sep 17 00:00:00 2001 From: Jun Wako Date: Sun, 10 May 2015 10:00:23 +0900 Subject: [PATCH] Add compile options '-fdata-sections' --- tmk_core/rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index a790f874..860fc1a9 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -124,6 +124,7 @@ CFLAGS += -O$(OPT) CFLAGS += -funsigned-char CFLAGS += -funsigned-bitfields CFLAGS += -ffunction-sections +CFLAGS += -fdata-sections CFLAGS += -fno-inline-small-functions CFLAGS += -fpack-struct CFLAGS += -fshort-enums