Parcourir la source

Add compile options '-fdata-sections'

Jun Wako il y a 10 ans
Parent
commit
1c73e574f1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      tmk_core/rules.mk

+ 1 - 0
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