Merge pull request #14 from ndrew222/modern-rogue

change CFLAGS to compile on Linux
This commit is contained in:
David Silva
2026-05-14 20:59:09 +01:00
committed by GitHub

4
configure vendored
View File

@@ -2692,13 +2692,13 @@ if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
CFLAGS="-g -O2 -std=gnu89"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
CFLAGS="-O2"
CFLAGS="-O2 -std=gnu89"
else
CFLAGS=
fi