summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorJun Wako <wakojun@gmail.com>2015-05-10 10:00:23 +0900
committerJun Wako <wakojun@gmail.com>2015-05-10 10:01:16 +0900
commit1c73e574f109a17566db99e399bdf86007488d2a (patch)
tree0388f4a6df4b43f81a9435a43427e8cc19db193c /tmk_core
parent663909772e36d965562b994679858e8b46ed3567 (diff)
Add compile options '-fdata-sections'
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index a790f874bc..860fc1a931 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