mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-25 02:02:57 -03:00
damn win gcc
This commit is contained in:
parent
426ba147eb
commit
addf4821d9
1 changed files with 3 additions and 3 deletions
|
@ -209,13 +209,13 @@ then
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CFLAGS="$cstd -Wno-pedantic-ms-format -Werror"
|
CFLAGS="$cstd -Wno-format -Wno-pedantic-ms-format -Werror"
|
||||||
AC_MSG_CHECKING([whether CC supports and needs -Wno-pedantic-ms-format])
|
AC_MSG_CHECKING([whether CC supports and needs -Wno-format -Wno-pedantic-ms-format])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef _WIN32
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef _WIN32
|
||||||
#error wants windows
|
#error wants windows
|
||||||
#endif]], [])],
|
#endif]], [])],
|
||||||
[AC_MSG_RESULT([yes])]
|
[AC_MSG_RESULT([yes])]
|
||||||
[cstd="$cstd -Wno-pedantic-ms-format"],
|
[cstd="$cstd -Wno-format -Wno-pedantic-ms-format"],
|
||||||
[AC_MSG_RESULT([no])]
|
[AC_MSG_RESULT([no])]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue