diff --git a/kf5-frameworkintegration.spec b/kf5-frameworkintegration.spec index 45ef670..2c33c9e 100644 --- a/kf5-frameworkintegration.spec +++ b/kf5-frameworkintegration.spec @@ -70,7 +70,8 @@ developing applications that use %{name}. %build -%if %{fedora} == 22 +# workaround for http://bugzilla.redhat.com/1255902 +%if 0%{?fedora} == 22 CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS CXXFLAGS