Skip to content

Commit 1ad1eaf

Browse files
Add -std=gnu99, if available, to CFLAGS
Found by: robert-scheck Patch by: michaelortmann Fixes: eggheads#1740 GCC 15 changes the default language version for C compilation from -std=gnu17 to -std=gnu23. See https://gcc.gnu.org/gcc-15/changes.html
1 parent d640315 commit 1ad1eaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ AC_USE_SYSTEM_EXTENSIONS
5454
EGG_CHECK_ICC
5555
EGG_CHECK_CCPIPE
5656
EGG_CHECK_CCWALL
57+
AX_CHECK_COMPILE_FLAG([-std=gnu99], [CFLAGS="-std=gnu99 $CFLAGS"])
5758

5859

5960
# Check for executable extension.

0 commit comments

Comments
 (0)