2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Fix nvcc PIC setting on darwin.
+ * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
+ <lt_prog_compiler_pic>: Prepend -Xcompiler to nonempty variable
+ setting rather than hard-coding -Xcompiler -fPIC, for darwin.
+ * NEWS, THANKS: Update.
+ Report by Paweł Daniluk.
+
Honor $AUTOCONF, $AUTOMAKE in --help output.
* libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and
$AUTOMAKE if set, for --version outout.
not available) works again. Regression introduced in v2.2.6-39-g9c3d4d8.
- The bug that leaked developer tool paths into the release tarballs
from ./bootstrap is fixed.
+ - Improved support for the Cuda Compiler Driver (nvcc) on Darwin.
* Important incompatible changes:
Paul Biggar paul.biggar@gmail.com
Paul Eggert eggert@twinsun.com
Paul Laight plaight@quantxautomation.co.uk
+ Paweł Daniluk pawel@bioexploratorium.pl
Peter Eisentraut peter_e@gmx.net
Peter Fritzsche peter.fritzsche@gmx.de
Peter Jeremy peterjeremy@optushome.com.au
case $cc_basename in
nvcc*) # Cuda Compiler Driver 2.2
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
+ if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+ fi
;;
esac
else