From e2791af833fe577ecda7134f9b4d78c96d24745eb129bb34a55ec30e086980e3 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Mon, 28 Oct 2019 14:53:05 +0000 Subject: [PATCH] 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 --- nginx.changes | 6 ++++++ nginx.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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}"