From 5a9a564bc323b4f0314cf1e55a038717ac07adb8 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Wed, 20 Jan 2021 14:49:22 +0000 Subject: [PATCH] link-opt # DP: Call the linker with -O1 -Bsymbolic-functions # DP: Call the linker with -O1 -Bsymbolic-functions Gbp-Pq: Name link-opt.diff --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 972287a..9192385 100644 --- a/configure.ac +++ b/configure.ac @@ -2661,8 +2661,8 @@ then fi ;; Linux*|GNU*|QNX*|VxWorks*) - LDSHARED='$(CC) -shared' - LDCXXSHARED='$(CXX) -shared';; + LDSHARED='$(CC) -shared -Wl,-O1 -Wl,-Bsymbolic-functions' + LDCXXSHARED='$(CXX) -shared -Wl,-O1 -Wl,-Bsymbolic-functions';; FreeBSD*) if [[ "`$CC -dM -E -