From ccb0acbaf8e1ce3109463b24d434724b348bb1d9 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Mon, 19 Jun 2017 21:50:16 -0700 Subject: network/nginx: Remove -Werror from CFLAGS Signed-off-by: Larry Hajali --- network/nginx/nginx.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'network/nginx/nginx.SlackBuild') diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild index 5e61d483c008..d652ddaaf64d 100644 --- a/network/nginx/nginx.SlackBuild +++ b/network/nginx/nginx.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=nginx VERSION=${VERSION:-1.10.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,6 +74,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Remove -Werror from CFLAGS. +# https://trac.nginx.org/nginx/ticket/1259 +sed -i '/-Werror/d' auto/cc/gcc + # Fix the nginx.conf file for html and virtual server directory. sed -i \ -e '/root[ ]*html/s|html;|/var/www/&|' \ -- cgit v1.2.3