Skip to content
Snippets Groups Projects
Commit ee486fd9 authored by Joakim Nohlgård's avatar Joakim Nohlgård Committed by GitHub
Browse files

Merge pull request #5794 from smlng/pr/fix_osx_5742

correcting linker LTO flags on OSX
parents 674f7a1c 291c1a54
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,12 @@ endif
# clean up unused functions
export CFLAGS += -ffunction-sections -fdata-sections
ifeq ($(shell uname -s),Darwin)
export LINKFLAGS += -Wl,-dead_strip
else
export LINKFLAGS += -Wl,--gc-sections
endif
export LINKFLAGS += -ffunction-sections
# set the tap interface for term/valgrind
ifneq (,$(filter netdev2_tap,$(USEMODULE)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment