diff --git a/rrdtool.spec b/rrdtool.spec index 8cff690..0409424 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -61,7 +61,11 @@ pushd cgilib-%{cgilib_version} echo -n > NEWS aclocal --force autoreconf -fiv -CFLAGS="%{optflags} -fPIC -I. -fexcess-precision=fast" \ +CGILIB_CFLAGS="%{optflags} -fPIC -I." +%if 0%{?suse_version} >= 1130 +CGILIB_CFLAGS="$CGILIB_CFLAGS -fexcess-precision=fast" +%endif +CFLAGS="$CGILIB_CFLAGS" \ %configure make %{?jobs:-j %jobs} %__mkdir_p ../lb/include