From ae288c385f78d281d7c9e398d2a30acd314860054d1ac16ec2d0d1c65fb97bdb Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Mon, 3 Jun 2013 22:22:10 +0000 Subject: [PATCH] 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 --- subversion.changes | 6 ++++++ subversion.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/subversion.changes b/subversion.changes index 858848a..dd8f327 100644 --- a/subversion.changes +++ b/subversion.changes @@ -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 diff --git a/subversion.spec b/subversion.spec index dcaff2c..d4d89f6 100644 --- a/subversion.spec +++ b/subversion.spec @@ -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}"