1
0
mirror of https://github.com/openresty/openresty synced 2024-11-09 18:35:51 +01:00
openresty/patches/nginx-1.7.4-no_Werror.patch
2014-08-07 19:18:57 -07:00

37 lines
1.1 KiB
C

diff -urp nginx-1.7.4/auto/cc/clang nginx-1.7.4-patched/auto/cc/clang
--- nginx-1.7.4/auto/cc/clang 2014-03-04 03:39:24.000000000 -0800
+++ nginx-1.7.4-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.4/auto/cc/gcc nginx-1.7.4-patched/auto/cc/gcc
--- nginx-1.7.4/auto/cc/gcc 2014-03-04 03:39:24.000000000 -0800
+++ nginx-1.7.4-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.4/auto/cc/icc nginx-1.7.4-patched/auto/cc/icc
--- nginx-1.7.4/auto/cc/icc 2014-03-04 03:39:24.000000000 -0800
+++ nginx-1.7.4-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"