Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

nginx: do not error out on warning #305

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/nginx/packaging
Expand Up @@ -38,6 +38,7 @@ tar xzvf nginx/nginx-0.8.54.tar.gz
echo "Patching nginx..."
pushd nginx-0.8.54
patch -p0 < ../nginx/zero_byte_in_cstr_20120315.patch
patch -p0 < ../nginx/no_werror_20140224.patch
popd

echo "Building lua..."
Expand Down
1 change: 1 addition & 0 deletions packages/nginx/spec
Expand Up @@ -13,3 +13,4 @@ files:
- nginx/lua-5.1.4.tar.gz
- nginx/lua-cjson-1.0.3.tar.gz
- nginx/lua-openssl-0.1.1.tar.gz
- nginx/no_werror_20140224.patch
11 changes: 11 additions & 0 deletions src/nginx/no_werror_20140224.patch
@@ -0,0 +1,11 @@
--- auto/cc/gcc
+++ auto/cc/gcc
@@ -169,7 +169,7 @@


# stop on warning
-CFLAGS="$CFLAGS -Werror"
+#CFLAGS="$CFLAGS -Werror"

# debug
CFLAGS="$CFLAGS -g"