From c089c4500b0b78acf03ee5405ad250a84b0dfa66 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 1 Dec 2019 17:44:24 +0300 Subject: Import python3.7 (3.7.5-2) --- debian/patches/link-opt.diff | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'debian/patches/link-opt.diff') diff --git a/debian/patches/link-opt.diff b/debian/patches/link-opt.diff index 4b4d7b7..5608d5c 100644 --- a/debian/patches/link-opt.diff +++ b/debian/patches/link-opt.diff @@ -1,10 +1,8 @@ # DP: Call the linker with -O1 -Bsymbolic-functions -Index: b/configure.ac -=================================================================== --- a/configure.ac +++ b/configure.ac -@@ -2511,8 +2511,8 @@ then +@@ -2611,8 +2611,8 @@ then fi ;; Linux*|GNU*|QNX*) @@ -12,12 +10,12 @@ Index: b/configure.ac - LDCXXSHARED='$(CXX) -shared';; + LDSHARED='$(CC) -shared -Wl,-O1 -Wl,-Bsymbolic-functions' + LDCXXSHARED='$(CXX) -shared -Wl,-O1 -Wl,-Bsymbolic-functions';; - BSD/OS*/4*) - LDSHARED="gcc -shared" - LDCXXSHARED="g++ -shared";; -@@ -2612,7 +2612,7 @@ then + FreeBSD*) + if [[ "`$CC -dM -E -