diff options
author | Larry Hajali <larryhaja@gmail.com> | 2017-06-19 21:50:16 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:35 +0700 |
commit | ccb0acbaf8e1ce3109463b24d434724b348bb1d9 (patch) | |
tree | 58902a291aad88ed9667d1d75a77ba18ba27b022 /network/nginx | |
parent | f0f19989de12a4a95b760fa056fd8ead393c61a4 (diff) | |
download | slackbuilds-ccb0acbaf8e1ce3109463b24d434724b348bb1d9.tar.gz |
network/nginx: Remove -Werror from CFLAGS
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
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 5e61d483c0..d652ddaaf6 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/&|' \ |