[Spice-devel] [PATCH] Enable build on armv6+

Christophe Fergeau cfergeau at redhat.com
Tue Sep 11 05:14:04 PDT 2012


From: Peter Robinson <pbrobinson at gmail.com>

The following patch enables it to build on ARM platforms that support
atomics. Tested on an armv7hl on an ARMv7 device running Fedora 18. Using
firefox connecting to a RHEV-M instance I could launch consoles in
spice-xpi and login so basic support works!

Resolves: rhbz#613529
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3882fb6..1c57110 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,9 +59,9 @@ AC_SUBST(SPICE_LT_VERSION)
 
 # Check for the CPU we are using
 #
-AC_MSG_CHECKING(for x86 or x86-64 platform)
+AC_MSG_CHECKING(for x86, x86-64 or armv6+ platform)
 case $host_cpu in
-  i386|i486|i586|i686|i786|k6|k7|arm|armv7)
+  i386|i486|i586|i686|i786|k6|k7|armv6|armv6l|armv6hl|armv7|armv7l|armv7hl)
 	variant=32
         ;;
   x86_64)
-- 
1.7.11.4



More information about the Spice-devel mailing list