diff --git a/nginx.changes b/nginx.changes index 39220f3..7e87139 100644 --- a/nginx.changes +++ b/nginx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 28 01:37:06 UTC 2019 - Cristian Rodríguez + +- remove -std=gnu99 -fstack-protector from cflags as they are + no longer needed. + ------------------------------------------------------------------- Wed Oct 23 17:04:53 UTC 2019 - Илья Индиго diff --git a/nginx.spec b/nginx.spec index bf9a793..2e6c21a 100644 --- a/nginx.spec +++ b/nginx.spec @@ -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}"