ports/lang/python312/files/patch-configure
Wen Heping deb31699f1
lang/python312: add 3.12.9
What's new: https://docs.python.org/3/whatsnew/3.12.html

PR: 271673
Co-authored-by: vishwin
Differential Revision: https://reviews.freebsd.org/D49679
2025-04-07 21:59:29 -04:00

11 lines
416 B
Text

--- configure.orig 2024-06-07 07:39:54 UTC
+++ configure
@@ -8328,7 +8328,7 @@ if test "$Py_LTO" = 'true' ; then
if test "$Py_LTO" = 'true' ; then
case $CC in
- *clang*)
+ *clang*|cc)
LDFLAGS_NOLTO="-fno-lto"
{ 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; }