https://bugzilla.redhat.com/show_bug.cgi?id=1255902
@ -70,6 +70,12 @@ developing applications that use %{name}.
%build
%if %{fedora} == 22
CFLAGS="%{optflags} -fno-strict-aliasing"
CXXFLAGS="%{optflags} -fno-strict-aliasing"
export CFLAGS CXXFLAGS
%endif
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..