mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
configure: Undefine __STRICT_ANSI__ for mingw's benefit
mingw makes a bunch of prototypes unavailable if __STRICT_ANSI__ is defined. However, they are still detected by configure, which causes us pain.
This commit is contained in:
parent
684f98b636
commit
8088815922
@ -67,6 +67,9 @@ PA_ADD_CFLAGS([-W])
|
||||
PA_ADD_CFLAGS([-Wall])
|
||||
PA_ADD_CFLAGS([-std=c99])
|
||||
PA_ADD_CFLAGS([-pedantic])
|
||||
dnl mingw disables a bunch of features if __STRICT_ANSI__ is defined,
|
||||
dnl and -std=c99 defines __STRICT_ANSI__
|
||||
PA_ADD_CFLAGS([-U__STRICT_ANSI__])
|
||||
|
||||
dnl Look for "nroff" or "groff"
|
||||
AC_CHECK_PROGS(NROFF, nroff, echo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user