aboutsummaryrefslogtreecommitdiff
path: root/www/elinks/files/patch-configure.ac
blob: 3c9bfe209491ea40d6343ad0f85bc945bb653206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- configure.ac.orig	2021-12-24 19:53:43 UTC
+++ configure.ac
@@ -531,6 +531,7 @@ else
 	if $PKG_CONFIG $pkg_config_static libbrotlidec; then
 		BROTLI_CFLAGS=`$PKG_CONFIG $pkg_config_static --cflags libbrotlidec`
 		BROTLI_LIBS=`$PKG_CONFIG $pkg_config_static --libs libbrotlidec`
+		CFLAGS="$BROTLI_CFLAGS $CFLAGS"
 		LIBS="$BROTLI_LIBS $LIBS"
 		CONFIG_BROTLI=yes
 		AC_DEFINE([CONFIG_BROTLI], [1], [Define as 1 to use the libbrotli library.])
@@ -1861,7 +1862,7 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
       ;;
     10|10.*|11|11.*)
       # gettext
-      CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Wno-array-bounds"
+      CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-array-bounds"
       ;;
     *)
       # These should be ok using -Werror