opnsense-ports/lang/python311/files/patch-configure
Franco Fichtner 2bf174870b */*: sync with upstream
Taken from: FreeBSD
2022-03-10 14:43:32 +01:00

11 lines
247 B
Text

--- configure.orig 2022-02-23 19:32:58 UTC
+++ configure
@@ -7244,7 +7244,7 @@ fi
if test "$Py_LTO" = 'true' ; then
case $CC in
- *clang*)
+ *clang*|cc)
LDFLAGS_NOLTO="-fno-lto"
if test -n "$ac_tool_prefix"; then