X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fthreads.impure.lisp;h=56d610bbe0a168c5656c95e442da725f9f908063;hb=23c0c48f562d7dc5d1615bf13cb831b46c91d106;hp=c285c81acca221e1332be9b3d25d65be488da495;hpb=402958f92506b9d3de852601b8c1ccb99b5ee558;p=sbcl.git diff --git a/tests/threads.impure.lisp b/tests/threads.impure.lisp index c285c81..56d610b 100644 --- a/tests/threads.impure.lisp +++ b/tests/threads.impure.lisp @@ -83,7 +83,8 @@ (format o "void loop_forever() { while(1) ; }~%")) (sb-ext:run-program #-sunos "cc" #+sunos "gcc" - (or #+(or linux freebsd sunos) '("-shared" "-o" "threads-foreign.so" "threads-foreign.c") + (or #+(or linux freebsd sunos) '(#+x86-64 "-fPIC" + "-shared" "-o" "threads-foreign.so" "threads-foreign.c") #+darwin '("-dynamiclib" "-o" "threads-foreign.so" "threads-foreign.c") (error "Missing shared library compilation options for this platform")) :search t)