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:
commit
3aaa431262
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user