diff options
Diffstat (limited to 'lang/python313/files/patch-configure')
| -rw-r--r-- | lang/python313/files/patch-configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python313/files/patch-configure b/lang/python313/files/patch-configure new file mode 100644 index 000000000000..d9ab11042299 --- /dev/null +++ b/lang/python313/files/patch-configure @@ -0,0 +1,11 @@ +--- 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; } |
