From 9f5eb268d18c518c30d094b937b1a4274142cd1b Mon Sep 17 00:00:00 2001 From: Quentin Quadrat Date: Sun, 28 Apr 2024 12:34:06 +0200 Subject: [PATCH] Remove -noall_load --- Makefile.flags | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.flags b/Makefile.flags index ac60a60..e995907 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -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