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

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=17
This commit is contained in:
Olaf Hering 2018-09-21 06:24:08 +00:00 committed by Git OBS Bridge
parent e34f28da1d
commit c03b93e350
2 changed files with 6 additions and 1 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 13:57:57 UTC 2018 - tchvatal@suse.com Fri Aug 24 13:57:57 UTC 2018 - tchvatal@suse.com

View File

@ -64,7 +64,7 @@ Development files for libserd.
for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
%build %build
export CFLAGS='%{optflags}' export CFLAGS='%{optflags} --std=gnu99'
export CXXFLAGS='%{optflags}' export CXXFLAGS='%{optflags}'
./waf configure \ ./waf configure \
--prefix=%{_prefix} \ --prefix=%{_prefix} \