File nginx-1.11.2-no_Werror.patch of Package nginx.19766

Index: nginx-1.16.1/auto/cc/gcc
===================================================================
--- nginx-1.16.1.orig/auto/cc/gcc	2019-08-13 14:51:43.000000000 +0200
+++ nginx-1.16.1/auto/cc/gcc	2020-03-24 17:51:53.748453742 +0100
@@ -166,7 +166,7 @@ esac
 
 
 # stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
 
 # debug
 CFLAGS="$CFLAGS -g"
Index: nginx-1.16.1/auto/cc/icc
===================================================================
--- nginx-1.16.1.orig/auto/cc/icc	2019-08-13 14:51:43.000000000 +0200
+++ nginx-1.16.1/auto/cc/icc	2020-03-24 17:51:53.748453742 +0100
@@ -111,7 +111,7 @@ case "$NGX_ICC_VER" in
 esac
 
 # stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
 
 # debug
 CFLAGS="$CFLAGS -g"
openSUSE Build Service is sponsored by