scripts/build/arch/sparc.sh
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Fri Nov 15 21:16:52 2013 +0100 (2013-11-15)
changeset 3247 01ef2159b12a
parent 2371 c131e30363ee
child 3323 99029fac116b
permissions -rw-r--r--
scripts/functions: use portable 'gzip -dc'

'zcat' on MacOS-X is broken (it is not gzip's zcat, but compres' zcat).

Use 'gzip -dc' for portability, as suggested by Anthony.

Reported-by: Fernando Ortiz <fortiz2k@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anthony Foiani <anthony.foiani@gmail.com>
sam@2371
     1
# Compute sparc-specific values
sam@2371
     2
CT_DoArchTupleValues() {
sam@2371
     3
    # That's the only thing to override
sam@2371
     4
    if [ "${CT_ARCH_64}" = "y" ]; then
w@3169
     5
        CT_TARGET_ARCH="sparc64${CT_ARCH_SUFFIX}"
sam@2371
     6
    fi
sam@2371
     7
sam@2371
     8
}