summaryrefslogtreecommitdiff
path: root/lang/python38/files/patch-configure
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-03-09 17:30:00 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-03-09 17:30:00 +0000
commit9a31e1b6d3bff1eef9fcd5e72268c238ec5335fb (patch)
tree22a2dcb9b5df13d56aa577b4d9cb41a9e877f67e /lang/python38/files/patch-configure
parentnet-p2p/py-tremc: Update to 0.9.3 (diff)
lang/python3*: add LTO option and enable by default everywhere except powerpc64 and riscv64
PR: 261974 Approved by: python (koobs got his commit bit revoked during review process)
Diffstat (limited to 'lang/python38/files/patch-configure')
-rw-r--r--lang/python38/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python38/files/patch-configure b/lang/python38/files/patch-configure
new file mode 100644
index 000000000000..c78047439605
--- /dev/null
+++ b/lang/python38/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2022-02-23 19:52:00 UTC
++++ configure
+@@ -6625,7 +6625,7 @@ fi
+
+ if test "$Py_LTO" = 'true' ; then
+ case $CC in
+- *clang*)
++ *clang*|cc)
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args.