Ticket #5459: 0001-Add-s390x-to-list-of-supported-architectures.patch

File 0001-Add-s390x-to-list-of-supported-architectures.patch, 1.0 KB (added by nomeata, 3 years ago)
  • aclocal.m4

    From 3a49e5147822bdfea2c763c863a7ca6b6baee609 Mon Sep 17 00:00:00 2001
    From: Joachim Breitner <mail@joachim-breitner.de>
    Date: Mon, 5 Sep 2011 09:37:24 +0200
    Subject: [PATCH] Add s390x to list of supported architectures
    
    ---
     aclocal.m4   |    3 +++
     configure.ac |    2 +-
     2 files changed, 4 insertions(+), 1 deletions(-)
    
    diff --git a/aclocal.m4 b/aclocal.m4
    index 68d3600..9bbdd59 100644
    a b case "$1" in 
    14961496  rs6000) 
    14971497    $2="rs6000" 
    14981498    ;; 
     1499  s390x*) 
     1500    $2="s390x" 
     1501    ;; 
    14991502  s390*) 
    15001503    $2="s390" 
    15011504    ;; 
  • configure.ac

    diff --git a/configure.ac b/configure.ac
    index f2aba41..cfefdea 100644
    a b esac 
    224224 
    225225checkArch() { 
    226226    case $1 in 
    227     alpha|arm|hppa|hppa1_1|i386|ia64|m68k|mips|mipseb|mipsel|powerpc|powerpc64|rs6000|s390|sparc|sparc64|vax|x86_64) 
     227    alpha|arm|hppa|hppa1_1|i386|ia64|m68k|mips|mipseb|mipsel|powerpc|powerpc64|rs6000|s390|s390x|sparc|sparc64|vax|x86_64) 
    228228        ;; 
    229229    *) 
    230230        echo "Unknown arch $1"