From 3554e0192e03d059d93d0f59590b8cf9978c6f72 Mon Sep 17 00:00:00 2001 From: ndrew222 <38881000+ndrew222@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:45:10 +0800 Subject: [PATCH] change CFLAGS to compile on Linux --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a7b95e7..d11c874 100755 --- a/configure +++ b/configure @@ -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