1.0.4.1: fix sb-posix atime/mtime/ctime
[sbcl.git] / tests / foreign-stack-alignment.impure.lisp
index 81a00f5..5e9a7c7 100644 (file)
@@ -32,7 +32,7 @@
 
 (defvar *required-alignment*
   #+(and ppc darwin) 16
-  #+(and ppc linux) 16
+  #+(and ppc linux) 8
   #+x86-64 16
   #+mips 8
   #+x86 4
@@ -43,7 +43,7 @@
 ;;;; number.
 
 (run "cc"
-     #+(and linux (or x86-64 ppc)) "-fPIC"
+     #+(and (or linux freebsd) (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"
-     #+(and linux (or x86-64 ppc)) "-fPIC"
+     #+(and (or linux freebsd) (or x86-64 ppc)) "-fPIC"
      #+darwin "-bundle" #-darwin "-shared"
      "-o" "stack-alignment-offset.so")