diff --git a/kf5-frameworkintegration.spec b/kf5-frameworkintegration.spec index 95657c4..fc1f551 100644 --- a/kf5-frameworkintegration.spec +++ b/kf5-frameworkintegration.spec @@ -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} ..