From c03b93e35044d5ac480da72630023993da2c809a5a7d51c2201a8b1a156cf26a Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 21 Sep 2018 06:24:08 +0000 Subject: [PATCH] - 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 --- serd.changes | 5 +++++ serd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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} \