From: Matthias Klose Date: Fri, 3 Sep 2021 06:18:44 +0000 (+0100) Subject: link-opt X-Git-Tag: archive/raspbian/3.9.7-2+rpi1^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=67e16bab92dad05264ac345ebdce503e31213aab;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 8fe5fa5..02c113c 100644 --- a/configure.ac +++ b/configure.ac @@ -2675,8 +2675,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 -