openresty/patches/nginx-1.5.8-no_Werror.patch

25 lines
662 B
Diff
Raw Normal View History

2013-12-18 21:44:42 +00:00
diff -ur nginx-1.5.8/auto/cc/gcc nginx-1.5.8-patched/auto/cc/gcc
--- nginx-1.5.8/auto/cc/gcc 2011-06-27 19:53:00.205737804 +0800
+++ nginx-1.5.8-patched/auto/cc/gcc 2011-06-27 19:53:13.837741087 +0800
@@ -169,7 +169,7 @@
# stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
# debug
CFLAGS="$CFLAGS -g"
diff -ur nginx-1.5.8/auto/cc/icc nginx-1.5.8-patched/auto/cc/icc
--- nginx-1.5.8/auto/cc/icc 2011-06-27 19:52:56.370157068 +0800
+++ nginx-1.5.8-patched/auto/cc/icc 2011-06-27 19:53:19.508916811 +0800
@@ -139,7 +139,7 @@
esac
# stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"
# debug
CFLAGS="$CFLAGS -g"