X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign-stack-alignment.impure.lisp;h=81a00f5ab5d9aac3db2bcaa22926bb596aa0fff7;hb=2b90fd1dbad23322258222a2ef4cef7f6a00831d;hp=9ed1a024536654dafd4b3caef8378d90e33652e1;hpb=2d7acdeb8e8076954522cb9ab14cdd7bb099dab0;p=sbcl.git diff --git a/tests/foreign-stack-alignment.impure.lisp b/tests/foreign-stack-alignment.impure.lisp index 9ed1a02..81a00f5 100644 --- a/tests/foreign-stack-alignment.impure.lisp +++ b/tests/foreign-stack-alignment.impure.lisp @@ -34,7 +34,7 @@ #+(and ppc darwin) 16 #+(and ppc linux) 16 #+x86-64 16 - #+(or mips) 8 + #+mips 8 #+x86 4 #-(or x86 x86-64 mips (and ppc (or darwin linux))) (error "Unknown platform")) @@ -43,7 +43,7 @@ ;;;; number. (run "cc" - #+x86-64 "-fPIC" + #+(and linux (or x86-64 ppc)) "-fPIC" "stack-alignment-offset.c" "-o" "stack-alignment-offset") (defparameter *good-offset* @@ -53,7 +53,7 @@ ;;;; Build the tool again, this time as a shared object, and load it (run "cc" "stack-alignment-offset.c" - #+x86-64 "-fPIC" + #+(and linux (or x86-64 ppc)) "-fPIC" #+darwin "-bundle" #-darwin "-shared" "-o" "stack-alignment-offset.so")