File project.diff of Package dwarves.Factory

--- dwarves.spec.orig
+++ dwarves.spec
@@ -100,6 +100,10 @@ for processing DWARF, a debugging data f
 %autosetup -p1
 
 %build
+%if 0%{?sle_version} && 0%{?sle_version} < 150000
+CFLAGS="%optflags -std=gnu99"
+export CFLAGS
+%endif
 sv="$PWD/lib.v"
 ver=$(echo %version | cut -d+ -f1)
 echo "DWARVES_$ver{ global: *; };" >"$sv"
openSUSE Build Service is sponsored by