mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
configure: Use -Wno-implicit-int in C compiler check.
This commit is contained in:
parent
bbdc4e9a41
commit
babe7f60dd
@ -171,7 +171,11 @@ LDFLAGS=$_SAVE_LDFLAGS
|
||||
|
||||
AC_CHECK_PROGS(CC, "${target_alias}-gcc" "${target}-gcc", :)
|
||||
unset ac_cv_prog_CC
|
||||
dnl Old autoconf may use implicit int return in tested sources, which is an error in Clang 15.
|
||||
dnl Append -Wno-implicit-int to CFLAGS to work around the problem.
|
||||
CFLAGS="$CFLAGS -Wno-implicit-int"
|
||||
AC_PROG_CC
|
||||
CFLAGS=$_SAVE_CFLAGS
|
||||
AC_CHECK_PROGS(CXX, "${target_alias}-g++" "${target}-g++", :)
|
||||
unset ac_cv_prog_CXX
|
||||
AC_PROG_CXX
|
||||
|
Loading…
Reference in New Issue
Block a user