From 17e492aa0e93b54ae6618c1a35bd1ada9e91336a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 18 Jun 2018 12:52:49 -0500 Subject: [PATCH] %%build: %%ix86 --no-sse2 on < f29 only --- qt5-qtbase.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index aefab6a..133a4e0 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -8,6 +8,12 @@ %endif %global openssl -openssl-linked +%if 0%{?fedora} < 29 +%ifarch %{ix86} +%global no_sse2 -no-sse2 +%endif +%endif + # support qtchooser (adds qtchooser .conf file) %global qtchooser 1 %if 0%{?qtchooser} @@ -443,9 +449,7 @@ export MAKEFLAGS="%{?_smp_mflags}" -no-pch \ -no-rpath \ -no-separate-debug-info \ -%ifarch %{ix86} - -no-sse2 \ -%endif + %{?no_sse2} \ -no-strip \ -system-libjpeg \ -system-libpng \ @@ -969,6 +973,7 @@ fi %changelog * Mon Jun 18 2018 Rex Dieter - 5.11.0-3 - backport CMake-Restore-qt5_use_modules-function.patch +- %%build: %%ix86 --no-sse2 on < f29 only * Wed May 30 2018 Rex Dieter - 5.11.0-2 - move libQt5EglFSDeviceIntegration to -gui (#1557223)