1
0
mirror of https://github.com/openresty/openresty synced 2024-11-14 08:45:50 +01:00
openresty/patches/nginx-1.7.10-no_Werror.patch
2015-02-11 14:49:26 -08:00

37 lines
1.1 KiB
C

diff -urp nginx-1.7.10/auto/cc/clang nginx-1.7.10-patched/auto/cc/clang
--- nginx-1.7.10/auto/cc/clang 2014-03-04 03:39:24.000000000 -0800
+++ nginx-1.7.10-patched/auto/cc/clang 2014-03-13 20:54:26.241413360 -0700
@@ -89,7 +89,7 @@ CFLAGS="$CFLAGS -Wconditional-uninitiali
CFLAGS="$CFLAGS -Wno-unused-parameter"
# stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
# debug
CFLAGS="$CFLAGS -g"
diff -urp nginx-1.7.10/auto/cc/gcc nginx-1.7.10-patched/auto/cc/gcc
--- nginx-1.7.10/auto/cc/gcc 2014-03-04 03:39:24.000000000 -0800
+++ nginx-1.7.10-patched/auto/cc/gcc 2014-03-13 20:54:13.301355329 -0700
@@ -168,7 +168,7 @@ esac
# stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
# debug
CFLAGS="$CFLAGS -g"
diff -urp nginx-1.7.10/auto/cc/icc nginx-1.7.10-patched/auto/cc/icc
--- nginx-1.7.10/auto/cc/icc 2014-03-04 03:39:24.000000000 -0800
+++ nginx-1.7.10-patched/auto/cc/icc 2014-03-13 20:54:13.301355329 -0700
@@ -115,7 +115,7 @@ case "$NGX_ICC_VER" in
esac
# stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
# debug
CFLAGS="$CFLAGS -g"