1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #3297 from gebart/pr/native-linker-sections

native: Add -ffunction-sections -fdata-sections to CFLAGS
This commit is contained in:
Thomas Eichinger 2015-07-15 11:26:42 +02:00
commit 3aaa431262

View File

@ -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