Skip to content

Commit f8d75ce

Browse files
committed
Warn instead of error
1 parent 4a196c4 commit f8d75ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

configure

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ if test "$Py_OPT" = 'true' ; then
18261826
# Check for conflicting CFLAGS=-O0 and --enable-optimizations
18271827
case "$CFLAGS" in
18281828
*-O0*)
1829-
AC_MSG_ERROR([CFLAGS contains -O0 which conflicts with --enable-optimizations. Please remove -O0 from CFLAGS or do not use --enable-optimizations.])
1829+
AC_MSG_WARN([CFLAGS contains -O0 which may conflict with --enable-optimizations. Consider removing -O0 from CFLAGS for optimal performance.])
18301830
;;
18311831
esac
18321832
# Intentionally not forcing Py_LTO='true' here. Too many toolchains do not

0 commit comments

Comments
 (0)