diff mbox

[6/9] Add ppc support to configure

Message ID 91290AE4-BAAF-44B1-AB1F-D8567D46A0AB@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Programmingkid April 25, 2017, 3:22 a.m. UTC
Add ppc support to the configure script.

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
---
  configure | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

    CFLAGS       C compiler flags
diff mbox

Patch

diff --git a/configure b/configure
index 055e6d6..7881b18 100755
--- a/configure
+++ b/configure
@@ -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