mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +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…
x
Reference in New Issue
Block a user