From: Matthias Klose Date: Thu, 23 Jul 2020 09:11:14 +0000 (+0100) Subject: link-opt X-Git-Tag: archive/raspbian/3.9.0_rc1-1+rpi1~1^2~26 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fd331d158aae56601eaaf732c1957990ca8660f0;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 7bbceb1..748bb17 100644 --- a/configure.ac +++ b/configure.ac @@ -2634,8 +2634,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 -