Skip to content

Commit

Permalink
Remove -noall_load
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Apr 28, 2024
1 parent 6658e4e commit 9f5eb26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile.flags
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,8 @@ $(warning CXXFLAGS: info: You have replaced default compilation flags by your ow
endif

# Creating shared libraries from static ones
ifeq ($(ARCHI),Darwin)
LINK_ALL_LOAD=-Wl,-all_load
LINK_NO_ALL_LOAD=-Wl,-noall_load
else
# Note: since 2024 -noall_load are removed on MacOS
ifneq ($(ARCHI),Darwin)
LINK_ALL_LOAD=-Wl,--whole-archive
LINK_NO_ALL_LOAD=-Wl,--no-whole-archive
endif
Expand Down

0 comments on commit 9f5eb26

Please sign in to comment.