orc: fix crashing on ppc64 little endian

[ci skip]
This commit is contained in:
q66 2019-04-24 13:27:34 +02:00 committed by Helmut Pozimski
parent 010ac25e35
commit 34cafb77b1

View file

@ -0,0 +1,15 @@
This reverts enabling powerpc related code on little endian ppc64 as it
seems to contain some big endian related assumptions, resulting in SIGILLs
on little endian.
--- m4/as-host-defines.m4
+++ m4/as-host-defines.m4
@@ -19,7 +19,7 @@ AC_DEFUN([AS_HOST_DEFINES],
HAVE_AMD64=yes
AC_DEFINE(HAVE_AMD64, 1, [Defined if host is amd64])
;;
- xpowerpc|xppc|xpowerpc64*|xppc64*)
+ xpowerpc|xppc|xpowerpc64|xppc64)
HAVE_POWERPC=yes
AC_DEFINE(HAVE_POWERPC, 1, [Defined if host is powerpc])
;;