1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-21 00:25:37 +00:00

[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

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
;;