From: Matthias Klose Date: Thu, 20 Mar 2025 02:07:39 +0000 (+0800) Subject: link-opt X-Git-Tag: archive/raspbian/3.9.2-1+rpi1+deb11u3^2~64 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fa5b8292933840a144bee98293f6a16bc2d5d447;p=python3.9.git link-opt # DP: Call the linker with -O1 -Bsymbolic-functions # DP: Call the linker with -O1 -Bsymbolic-functions Gbp-Pq: Name link-opt.diff --- 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 -