- Use --std=gnu99 to fix comilation of bogus C code

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/sratom?expand=0&rev=11
This commit is contained in:
Olaf Hering 2018-09-21 06:28:28 +00:00 committed by Git OBS Bridge
parent 613b4d1aa5
commit beb2eca66f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 21 06:23:43 UTC 2018 - olaf@aepfle.de
- Use --std=gnu99 to fix comilation of bogus C code
-------------------------------------------------------------------
Fri Aug 24 20:43:37 UTC 2018 - tchvatal@suse.com

View File

@ -31,7 +31,7 @@ BuildRequires: graphviz
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: pkgconfig(lv2) >= 1.10.0
BuildRequires: pkgconfig(serd-0) >= 0.23.0
BuildRequires: pkgconfig(serd-0) >= 0.30.0
BuildRequires: pkgconfig(sord-0) >= 0.12.0
%description
@ -58,7 +58,7 @@ Development files for libsratom.
%setup -q
%build
export CFLAGS='%{optflags}'
export CFLAGS='%{optflags} --std=gnu99'
export CXXFLAGS='%{optflags}'
python3 ./waf configure \
--prefix=%{_prefix} \