summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-09-29 14:10:42 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-10-04 15:00:31 +0200
commita3935f1a09405a56f13f661797f64ecd31e095f7 (patch)
treedd7ad9ad3b6ff1aad3232d2750712bd488dadb58 /configure.ac
parent809733714b7501490c5a6fa690d254ec7f9bc8f9 (diff)
remove obsolete -single_module linker flag (is the default)
has already been unnecessary since over 15 years/was the default since OS X 10.4 (2005) along with ignoring the corresponding altenative (-multi_module) switch, from man ld: -single_module This is now the default so does not need to be specified. -multi_module Multi-modules in dynamic libraries have been ignored at runtime since Mac OS X 10.4.0. This option is obsolete. Xcode 15 now warns about it being obsolete, so remove it. Change-Id: I4d4aab452a330c3c4ec97da4232c3af6350c0ff4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157407 Tested-by: Jenkins Reviewed-by: Patrick Luby <plubius@neooffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3fe42df3978c..e9c6ba7561b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1002,7 +1002,7 @@ darwin*) # macOS
INSTROOTCONTENTSUFFIX=/Contents
SDKDIRNAME=${PRODUCTNAME_WITHOUT_SPACES}${PRODUCTVERSION}_SDK
# See "Default values, as such probably valid just for Linux" comment above the case "$host_os"
- LINKFLAGSSHL="-dynamiclib -single_module"
+ LINKFLAGSSHL="-dynamiclib"
# -fPIC is default
PICSWITCH=""
@@ -1043,7 +1043,7 @@ ios*) # iOS
host=x86_64-apple-darwin
fi
# See "Default values, as such probably valid just for Linux" comment above the case "$host_os"
- LINKFLAGSSHL="-dynamiclib -single_module"
+ LINKFLAGSSHL="-dynamiclib"
# -fPIC is default
PICSWITCH=""