Accepting request 743385 from home:elvigia:branches:server:http

- remove -std=gnu99 -fstack-protector from cflags as they are
  no longer needed.

OBS-URL: https://build.opensuse.org/request/show/743385
OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=148
This commit is contained in:
Marguerite Su 2019-10-28 14:53:05 +00:00 committed by Git OBS Bridge
parent ad6d5170e4
commit e2791af833
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 28 01:37:06 UTC 2019 - Cristian Rodríguez <crrodriguez@opensuse.org>
- remove -std=gnu99 -fstack-protector from cflags as they are
no longer needed.
-------------------------------------------------------------------
Wed Oct 23 17:04:53 UTC 2019 - Илья Индиго <ilya@ilya.pp.ua>

View File

@ -263,7 +263,7 @@ sed -i "s/\/var\/run/\/run/" conf/nginx.conf
--add-dynamic-module=%{nginx_rtmp_module_path} \
%endif
%if 0%{?suse_version} > 1220
--with-cc-opt="%{optflags} -fPIC -D_GNU_SOURCE -std=gnu99 -fstack-protector" \
--with-cc-opt="%{optflags} -fPIC -D_GNU_SOURCE" \
--with-ld-opt="-Wl,-z,relro,-z,now -pie"
%else
--with-cc-opt="%{optflags}"