diff --git a/serd.changes b/serd.changes index 3af17e7..e3e54be 100644 --- a/serd.changes +++ b/serd.changes @@ -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 diff --git a/serd.spec b/serd.spec index c2a38e4..c922949 100644 --- a/serd.spec +++ b/serd.spec @@ -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 %build -export CFLAGS='%{optflags}' +export CFLAGS='%{optflags} --std=gnu99' export CXXFLAGS='%{optflags}' ./waf configure \ --prefix=%{_prefix} \