From bdcbd4b5e84d132719e32b3c87fb77527b475efe Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Tue, 26 Mar 2013 12:45:35 +0000 Subject: [PATCH] test environment fix for 64-bit PowerPC/Linux (from Eric Marsden sbcl-devel 2012-03-26) --- tests/run-compiler.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ;; -- 1.7.10.4