Skip to contentSkip to conversation

Add ppc support to configure

PATCH In review G 3 1 participant 1 message Apr 25, 2017

lore
Share & tools
lore

G 3

author
#0 lore raw

PATCH 6/9 Add ppc support to configure

Add ppc support to the configure script.

---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
configure +2 -0
index 055e6d6..7881b18 100755
@@ -56,6 +56,8 @@ guess_arch() {
         else
             ARCH="ppc64le"
         fi
+    elif check_define __ppc__ ; then
+        ARCH="ppc"
     else
         echo "This cpu is not supported by risu. Try -h. " >&2
         exit 1
@@ -92,7 +94,7 @@ Some influential environment variables:
                prefixed with the given string.
 
   ARCH         force target architecture instead of trying to  

detect it.

-               Valid values=[arm|aarch64|ppc64|ppc64le|m68k]
+               Valid values=[arm|aarch64|ppc64|ppc64le|m68k|ppc]

CC C compiler command
CFLAGS C compiler flags

Signature · 1 line
2.10.2