From: Jun Wako Date: Sun, 10 May 2015 01:00:23 +0000 (+0900) Subject: Add compile options '-fdata-sections' X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=1c73e574f109a17566db99e399bdf86007488d2a;p=max%2Ftmk_keyboard.git Add compile options '-fdata-sections' --- 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