From: tmk Date: Sat, 24 Sep 2016 02:29:21 +0000 (+0900) Subject: core: Fix OPT_DEFS for mbed build X-Git-Url: https://git.gir.st/tmk_keyboard.git/commitdiff_plain/d356afb930ca2b6888dbcc2487fcdd297275af13?hp=c7651089f2018c257f3e485d5350929a8bfa429d core: Fix OPT_DEFS for mbed build --- diff --git a/tmk_core/tool/mbed/gcc.mk b/tmk_core/tool/mbed/gcc.mk index b8c7336b..596fbc8a 100644 --- a/tmk_core/tool/mbed/gcc.mk +++ b/tmk_core/tool/mbed/gcc.mk @@ -23,6 +23,7 @@ CC_FLAGS += \ -fdata-sections \ -fomit-frame-pointer CC_FLAGS += -MMD -MP +CC_FLAGS += $(OPT_DEFS) LD_FLAGS = $(CPU) -Wl,--gc-sections --specs=nano.specs #LD_FLAGS += -u _printf_float -u _scanf_float