projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor optimization to restart-case
[sbcl.git]
/
tests
/
run-compiler.sh
diff --git
a/tests/run-compiler.sh
b/tests/run-compiler.sh
old mode 100644
(file)
new mode 100755
(executable)
index
0dd33fd
..
dbc01f9
--- a/
tests/run-compiler.sh
+++ b/
tests/run-compiler.sh
@@
-1,10
+1,10
@@
-#!/bin/sh
+#!/bin/bash
platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
if [ -z "$CC" ]
then
platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
if [ -z "$CC" ]
then
- CC=cc
+ CC=gcc
fi
args=
fi
args=
@@
-13,6
+13,7
@@
case "$platform" in
Darwin-X86) args="-arch i386" ;;
SunOS-X86-64) args=-m64 ;;
Linux-X86) args="-m32" ;;
Darwin-X86) args="-arch i386" ;;
SunOS-X86-64) args=-m64 ;;
Linux-X86) args="-m32" ;;
+ Linux-PowerPC) args="-m32" ;;
esac
while [ $# -gt 0 ]; do
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 ;;
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 ;;
NetBSD-PowerPC) new=-fPIC ;;
NetBSD-X86-64) new=-fPIC ;;
OpenBSD-PowerPC) new=-fPIC ;;