[nekovm] Only build SSE on x86_64 to fix FTBFS

Peter Robinson pbrobinson at fedoraproject.org
Thu Jul 5 18:22:56 UTC 2012


commit ca29399dc6ce1b0f59d6caf783b4a13889ff9728
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Thu Jul 5 19:22:49 2012 +0100

    Only build SSE on x86_64 to fix FTBFS

 nekovm.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/nekovm.spec b/nekovm.spec
index 5ccc9a6..193588e 100644
--- a/nekovm.spec
+++ b/nekovm.spec
@@ -5,7 +5,7 @@
 
 Name:           nekovm
 Version:        1.8.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Neko embedded scripting language and virtual machine
 
 Group:          Development/Libraries
@@ -103,6 +103,10 @@ done
 %patch5 -p1
 %patch6 -p1
 
+# Fedora only supports SSE on x86_64
+%ifnarch x86_64
+sed -i.sse 's/-msse2 -mfpmath=sse //g' Makefile
+%endif
 
 %build
 # Avoid a compiler stack-overflow when building on 64 bit.
@@ -169,6 +173,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jul  5 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 1.8.2-3
+- Only build SSE on x86_64 to fix FTBFS
+
 * Fri Feb 10 2012 Petr Pisar <ppisar at redhat.com> - 1.8.2-2
 - Rebuild against PCRE 8.30
 


More information about the scm-commits mailing list