orc: fix crashing on ppc64 little endian
[ci skip]
This commit is contained in:
parent
010ac25e35
commit
34cafb77b1
1 changed files with 15 additions and 0 deletions
15
srcpkgs/orc/patches/revert-ppc64le.patch
Normal file
15
srcpkgs/orc/patches/revert-ppc64le.patch
Normal 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])
|
||||||
|
;;
|
Loading…
Reference in a new issue