diff options
Diffstat (limited to 'network/nginx')
-rw-r--r-- | network/nginx/nginx.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
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/&|' \ |