X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=2f1f40587689f3efb1c6a66d0ff6d1bad8351818;hb=874586929c175a28728a632d4b2123365bd63851;hp=59e28cde20304f01647ccc2b1e48981f30991e1d;hpb=e829d0de78c10d779de6bc5ace2ab3354e6236ec;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 59e28cd..2f1f405 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -27,7 +27,7 @@ testfilestem=${TMPDIR:-/tmp}/sbcl-foreign-test-$$ build_so() { echo building $1.so - if [ "`uname -m`" = x86_64 ]; then + if [ "`uname -m`" = x86_64 -o "`uname -m`" = amd64 ]; then CFLAGS="$CFLAGS -fPIC" fi if [ "`uname`" = Darwin ]; then @@ -154,9 +154,9 @@ cat > $testfilestem.base.lisp <> $testfilestem.small.lisp # Test code cat > $testfilestem.test.lisp < $testfilestem.test.lisp < $testfilestem.test.lisp <