ports-local/lang/python312/files/patch-configure

12 lines
416 B
Text
Raw Normal View History

2024-07-26 11:18:04 -04:00
--- configure.orig 2024-06-07 07:39:54 UTC
2024-03-22 08:52:20 -04:00
+++ configure
2024-07-26 11:18:04 -04:00
@@ -8328,7 +8328,7 @@ if test "$Py_LTO" = 'true' ; then
2024-03-22 08:52:20 -04:00
if test "$Py_LTO" = 'true' ; then
case $CC in
- *clang*)
+ *clang*|cc)
LDFLAGS_NOLTO="-fno-lto"
2024-07-26 11:18:04 -04:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
printf %s "checking whether C compiler accepts -flto=thin... " >&6; }