0.9.13.37:
authorJuho Snellman <jsnell@iki.fi>
Fri, 9 Jun 2006 23:58:27 +0000 (23:58 +0000)
committerJuho Snellman <jsnell@iki.fi>
Fri, 9 Jun 2006 23:58:27 +0000 (23:58 +0000)
Add an explicit -fPIC to the gcc options for building a shared
        library for x86-64 in threads.impure.lisp, as apparently required
        for some versions of gcc. (thanks to Marco Monteiro)

tests/threads.impure.lisp
version.lisp-expr

index c285c81..56d610b 100644 (file)
@@ -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)
index e42e9c6..10da21d 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.13.36"
+"0.9.13.37"