mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
configure.ac: if we have a C17/C11-compatible compiler, use it
Enable -std=c17 or -std=c11 for compilers that handle them. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
abcdf8356a
commit
e8d6bbacd4
1 changed files with 2 additions and 1 deletions
|
|
@ -23,11 +23,12 @@ export WINELOADER
|
|||
dnl Get the canonical target system name
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
dnl Enable necessary CC extensions
|
||||
dnl Enable any available C extensions
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_SYS_LARGEFILE
|
||||
AC_PROG_CC
|
||||
AC_PROG_CC_STDC
|
||||
PA_ADD_CFLAGS([-std=c11])
|
||||
|
||||
dnl If the user did not specify a CFLAGS default, change default
|
||||
dnl to -O0 for debugging
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue