From: Christophe Rhodes Date: Tue, 26 Mar 2013 12:45:35 +0000 (+0000) Subject: test environment fix for 64-bit PowerPC/Linux X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=bdcbd4b5e84d132719e32b3c87fb77527b475efe;p=sbcl.git test environment fix for 64-bit PowerPC/Linux (from Eric Marsden sbcl-devel 2012-03-26) --- diff --git a/tests/run-compiler.sh b/tests/run-compiler.sh index 0dd33fd..c59baae 100644 --- a/tests/run-compiler.sh +++ b/tests/run-compiler.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}" @@ -13,6 +13,7 @@ case "$platform" in Darwin-X86) args="-arch i386" ;; SunOS-X86-64) args=-m64 ;; Linux-X86) args="-m32" ;; + Linux-PowerPC) args="-m32" ;; esac while [ $# -gt 0 ]; do @@ -24,6 +25,7 @@ while [ $# -gt 0 ]; do FreeBSD-X86-64) new=-fPIC ;; Linux-MIPS) new=-fPIC ;; Linux-X86-64) new=-fPIC ;; + Linux-PowerPC) new=-fPIC ;; NetBSD-PowerPC) new=-fPIC ;; NetBSD-X86-64) new=-fPIC ;; OpenBSD-PowerPC) new=-fPIC ;;