0.8.21.34:
[sbcl.git] / tests / foreign.test.sh
index 60f815a..2d7865f 100644 (file)
@@ -27,7 +27,7 @@ testfilestem=${TMPDIR:-/tmp}/sbcl-foreign-test-$$
 
 build_so() {
   echo building $1.so
-  if [ $(uname -p) = x86_64 ]; then
+  if [ $(uname -m) = x86_64 ]; then
     CFLAGS="$CFLAGS -fPIC"
   fi
   if [ $(uname) = Darwin ]; then