aboutsummaryrefslogtreecommitdiff
path: root/lang/python311/files/patch-configure
blob: 4aa2a57ef3006c6ea24c2a4734b5c205eedf7152 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2022-12-07 13:31:07 UTC
+++ configure
@@ -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"
                   { $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; }