projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.10.21: MIPS will soon need an explicit -fPIC flag, too.
[sbcl.git]
/
tests
/
foreign.test.sh
diff --git
a/tests/foreign.test.sh
b/tests/foreign.test.sh
index
2f1f405
..
2e3be6c
100644
(file)
--- a/
tests/foreign.test.sh
+++ b/
tests/foreign.test.sh
@@
-27,7
+27,8
@@
testfilestem=${TMPDIR:-/tmp}/sbcl-foreign-test-$$
build_so() {
echo building $1.so
build_so() {
echo building $1.so
- if [ "`uname -m`" = x86_64 -o "`uname -m`" = amd64 ]; then
+ if [ "`uname -m`" = x86_64 -o "`uname -m`" = amd64 -o \
+ "`uname -m`" = mips -o "`uname -m`" = mips64 ]; then
CFLAGS="$CFLAGS -fPIC"
fi
if [ "`uname`" = Darwin ]; then
CFLAGS="$CFLAGS -fPIC"
fi
if [ "`uname`" = Darwin ]; then