[LuxRender/f14/master] Re-fix the sse2 (sse is needed at least on x86)

Nicolas Chauvet kwizart at fedoraproject.org
Tue Nov 30 11:39:45 UTC 2010


commit 593650e67e5448eade5ad4296ea371cefc751d04
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Tue Nov 30 12:40:32 2010 +0100

    Re-fix the sse2 (sse is needed at least on x86)

 LuxRender.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/LuxRender.spec b/LuxRender.spec
index bac7d71..45ac9e7 100644
--- a/LuxRender.spec
+++ b/LuxRender.spec
@@ -85,8 +85,12 @@ developing applications that use %{name}.
 #Disable tweaking
 sed -i -e 's/-O3//' CMakeLists.txt
 %ifnarch x86_64 ia64
-sed -i -e 's/-msse2 -mfpmath=sse//' CMakeLists.txt
+sed -i -e 's/-msse2//' CMakeLists.txt
 %endif
+%ifnarch %{ix86} x86_64 ia64
+sed -i -e 's/-mfpmath=sse//' CMakeLists.txt
+%endif
+
 
 %build
 mkdir -p build


More information about the scm-commits mailing list