aboutsummaryrefslogtreecommitdiff
path: root/lang/python311/files
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2022-12-07 14:01:41 +0000
committerWen Heping <wen@FreeBSD.org>2022-12-07 14:01:41 +0000
commit50dd612ca9a19fe402451e8a08e4d2cee1913331 (patch)
tree8435796fc577483f1a03718df570711840378590 /lang/python311/files
parent90bb8a348de3945584e5a8933d5d1cd140c79ed9 (diff)
Diffstat (limited to 'lang/python311/files')
-rw-r--r--lang/python311/files/patch-configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/python311/files/patch-configure b/lang/python311/files/patch-configure
index aa89baed8cc0..4aa2a57ef300 100644
--- a/lang/python311/files/patch-configure
+++ b/lang/python311/files/patch-configure
@@ -1,11 +1,11 @@
---- configure.orig 2022-02-23 19:32:58 UTC
+--- configure.orig 2022-12-07 13:31:07 UTC
+++ configure
-@@ -7244,7 +7244,7 @@ fi
+@@ -7630,7 +7630,7 @@ if test "$Py_LTO" = 'true' ; then
if test "$Py_LTO" = 'true' ; then
case $CC in
- *clang*)
+ *clang*|cc)
- LDFLAGS_NOLTO="-fno-lto"
-
- if test -n "$ac_tool_prefix"; then
+ LDFLAGS_NOLTO="-fno-lto"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
+ $as_echo_n "checking whether C compiler accepts -flto=thin... " >&6; }