From e3d7687b7da6e5e79cc2796fb529a135bdd47178 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 19 Jun 2014 02:16:28 +0200 Subject: [PATCH] add CFLAGS optimizations --- Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.include b/Makefile.include index 49c6000be..f51cfc231 100644 --- a/Makefile.include +++ b/Makefile.include @@ -33,6 +33,8 @@ CFLAGS += $(OPTFLAGS) \ -fno-common \ -fno-exceptions \ -fvisibility=internal \ + -ffunction-sections \ + -fdata-sections \ -mcpu=cortex-m3 \ -mthumb \ -msoft-float \