Accepting request 177309 from home:AndreasStieger:branches:devel:tools:scm:svn

- build with -std=gnu99 on 12.3 and later to match apache httpd to 
  avoid configure warning

OBS-URL: https://build.opensuse.org/request/show/177309
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=122
This commit is contained in:
Andreas Stieger 2013-06-03 22:22:10 +00:00 committed by Git OBS Bridge
parent 19d81a5e8f
commit ae288c385f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 3 18:38:09 UTC 2013 - andreas.stieger@gmx.de
- build with -std=gnu99 on 12.3 and later to match apache httpd to
avoid configure warning
-------------------------------------------------------------------
Fri May 31 20:44:34 UTC 2013 - andreas.stieger@gmx.de

View File

@ -481,6 +481,9 @@ do
echo
done >> build-outputs.mK
export CFLAGS="$(%{apxs} -q CFLAGS) %{optflags} -fpie -fstack-protector"
%if 0%{?suse_version} >= 1230
export CFLAGS="$CFLAGS -std=gnu99"
%endif
export CXXFLAGS="$CFLAGS"
export LDFLAGS=-pie
export PATH="${SWIG_ROOT}/bin:${PATH}"