From: Martin Kroeker Date: Sun, 13 Dec 2020 20:28:01 +0000 (+0100) Subject: Fix spurious removal of a trailing character from the hostarch string on x86_64 X-Git-Tag: upstream/0.3.21~21^2~67^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00ce35336ee1eb1089f30d1e117a8a6a933f9654;p=platform%2Fupstream%2Fopenblas.git Fix spurious removal of a trailing character from the hostarch string on x86_64 --- diff --git a/c_check b/c_check index 970d475..9c8b1ab 100644 --- a/c_check +++ b/c_check @@ -5,7 +5,7 @@ # Checking cross compile $hostos = `uname -s | sed -e s/\-.*//`; chop($hostos); -$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch); +$hostarch = `uname -m | sed -e s/i.86/x86/`; $hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS"); chop($hostarch); $hostarch = "x86_64" if ($hostarch eq "amd64");