ports/lang/python313/files/patch-configure
Wen Heping edcf1d7d57
lang/python313: add
What's new: https://docs.python.org/3/whatsnew/3.13.html

Most notably, introduce free-threaded mode. As this mode changes
the ABI, the entire distribution lives in a separate hierarchy, and
thus a new child port (lang/python313t) and FLAVOR (py313t) are
introduced.

Co-authored-by: vishwin
PR: 274671
Differential Revision: https://reviews.freebsd.org/D49680
2025-11-01 18:40:56 -04:00

12 lines
412 B
Plaintext

--- configure.orig 2022-11-02 01:26:00 UTC
+++ configure
@@ -7704,7 +7704,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; }