[Spice-devel] [PATCH 1/3] spice-ppc: Adds powerpc compilation support

sombrafam at gmail.com sombrafam at gmail.com
Tue Aug 7 11:45:30 PDT 2012


From: Erlon Cruz <erlon.cruz at br.flextronics.com>


Signed-off-by: Erlon R. Cruz <erlon.cruz at br.flextronics.com>
Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio at fit-tecnologia.org.br>
Signed-off-by: Rafael F. Santos <Rafael.Santos at fit-tecnologia.org.br>

---
 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index e70e786..53a4574 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,12 @@ case "$host_os" in
         os_win32=no
         ;;
 esac
+
+if test $host_cpu = powerpc64; then
+        AC_DEFINE_UNQUOTED([WORDS_BIGENDIAN], 1,
+        [Set on powerpc hosts])
+fi
+
 AC_MSG_RESULT([$os_win32])
 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
 
-- 
1.7.4.1



More information about the Spice-devel mailing list