From 30dee9c5615a8e44e8964e5768e0a5f5734fa685 Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Thu, 2 Jul 2015 05:58:51 +0200 Subject: [PATCH] native: Add -ffunction-sections -fdata-sections to CFLAGS --- boards/native/Makefile.include | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index efa7ccaef0..37491556ee 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -39,6 +39,7 @@ export GPROF ?= gprof # basic cflags: export CFLAGS += -Wall -Wextra -pedantic +export CFLAGS += -ffunction-sections -fdata-sections ifeq ($(shell uname -m),x86_64) export CFLAGS += -m32 endif