1
0
Fork 0

[configure.ac] Do not show warnings related to gettext for gcc-10

It is not a good idea, but warnings also look ugly.
This commit is contained in:
Witold Filipczyk 2020-05-18 21:49:58 +02:00
parent 6a581dd044
commit 83706c49ba
1 changed files with 4 additions and 0 deletions

View File

@ -1774,6 +1774,10 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
# difference.
CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign"
;;
10|10.*)
# gettext
CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign -Wno-builtin-declaration-mismatch"
;;
*)
# These should be ok using -Werror
;;