57 lines
1.4 KiB
Diff
57 lines
1.4 KiB
Diff
Index: cimple-2.0.24/config.guess
|
|
===================================================================
|
|
--- cimple-2.0.24.orig/config.guess
|
|
+++ cimple-2.0.24/config.guess
|
|
@@ -30,6 +30,10 @@ if [ -z "$host" ]; then
|
|
host=s390x-unknown-linux-gnu
|
|
;;
|
|
|
|
+ ppc64le:Linux:*:*)
|
|
+ host=ppc64le-unknown-linux-gnu
|
|
+ ;;
|
|
+
|
|
ppc64:Linux:*:*)
|
|
host=ppc64-unknown-linux-gnu
|
|
;;
|
|
Index: cimple-2.0.24/configure
|
|
===================================================================
|
|
--- cimple-2.0.24.orig/configure
|
|
+++ cimple-2.0.24/configure
|
|
@@ -193,7 +193,7 @@ if [ "$with_pegasus_env" = "1" ]; then
|
|
;;
|
|
|
|
LINUX_PPC64_GNU)
|
|
- host=ppc64-unknown-linux-gnu
|
|
+ host=ppc64*-unknown-linux-gnu
|
|
;;
|
|
|
|
SOLARIS_SPARC_GNU)
|
|
@@ -287,6 +287,11 @@ case "$host" in
|
|
libbase=lib64
|
|
;;
|
|
|
|
+ ppc64le-unknown-linux-gnu)
|
|
+ platform=LINUX_PPC64_GNU
|
|
+ libbase=lib64
|
|
+ ;;
|
|
+
|
|
arm-wrs-vxworks-gnu)
|
|
platform=VXWORKS_XSCALE_GNU
|
|
libbase=lib
|
|
Index: cimple-2.0.24/src/cimple/platform_LINUX_PPC_GNU.h
|
|
===================================================================
|
|
--- cimple-2.0.24.orig/src/cimple/platform_LINUX_PPC_GNU.h
|
|
+++ cimple-2.0.24/src/cimple/platform_LINUX_PPC_GNU.h
|
|
@@ -29,7 +29,11 @@
|
|
|
|
#include "platform_LINUX.h"
|
|
|
|
+#if defined(__LITTLE_ENDIAN__)
|
|
+#define CIMPLE_LITTLE_ENDIAN
|
|
+#else
|
|
#define CIMPLE_BIG_ENDIAN
|
|
+#endif
|
|
|
|
#define CIMPLE_PLATFORM_ID "LINUX_PPC_GNU"
|
|
|