X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Frun-compiler.sh;h=c59baae675ad09738422e689bd9ae23d47e7e01c;hb=f713c0f609e53771394439dc6b418efcd7c7fb2f;hp=d98aab0649e40fd3c1d967aab5b941716561ac5a;hpb=6b5e285152dc031327e66e5405bc449b92560ec8;p=sbcl.git diff --git a/tests/run-compiler.sh b/tests/run-compiler.sh index d98aab0..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}" @@ -10,11 +10,10 @@ fi args= case "$platform" in Darwin-X86-64) args="-arch x86_64" ;; + Darwin-X86) args="-arch i386" ;; SunOS-X86-64) args=-m64 ;; -esac - -case "$platform" in - Darwin-X86) args="-arch i386" ;; + Linux-X86) args="-m32" ;; + Linux-PowerPC) args="-m32" ;; esac while [ $# -gt 0 ]; do @@ -26,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 ;;