]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Add compile options '-fdata-sections'
authorJun Wako <wakojun@gmail.com>
Sun, 10 May 2015 01:00:23 +0000 (10:00 +0900)
committerJun Wako <wakojun@gmail.com>
Sun, 10 May 2015 01:01:16 +0000 (10:01 +0900)
tmk_core/rules.mk

index a790f874bc9c93eb8d0fb3add10a177753767706..860fc1a9310da970ebecba597c150802f522f37e 100644 (file)
@@ -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