From: Matthias Klose Date: Thu, 16 Dec 2021 23:13:29 +0000 (+0000) Subject: link-opt X-Git-Tag: archive/raspbian/3.9.9-3+rpi1~1^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f68d6079c4cf7f834ac41cf5f81076e50fa23c7f;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 823252b..30b4248 100644 --- a/configure.ac +++ b/configure.ac @@ -2677,8 +2677,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 -