X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Frun-compiler.sh;h=0dd33fd78928ee808fb03f091201e2a8d8fddf3d;hb=b14aefb22fd710673b1a1005add3c0425713d2a0;hp=d1a47556eb0473194339a2cfee33a85b4955d33e;hpb=2f7e7231ad6128af80102fa2031f483e00e7a2bc;p=sbcl.git diff --git a/tests/run-compiler.sh b/tests/run-compiler.sh index d1a4755..0dd33fd 100644 --- a/tests/run-compiler.sh +++ b/tests/run-compiler.sh @@ -2,18 +2,17 @@ platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}" -case "$platform" in - SunOS-*) CC=gcc ;; - *) CC=cc ;; -esac +if [ -z "$CC" ] +then + CC=cc +fi args= case "$platform" in Darwin-X86-64) args="-arch x86_64" ;; -esac - -case "$platform" in - Darwin-X86) args="-arch i386" ;; + Darwin-X86) args="-arch i386" ;; + SunOS-X86-64) args=-m64 ;; + Linux-X86) args="-m32" ;; esac while [ $# -gt 0 ]; do