From: Ralf Wildenhues Date: Mon, 14 Mar 2005 11:11:12 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ab84788d91f0f1d3de5a0c54a5c9c337d872209;p=thirdparty%2Flibtool.git * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_ dependency when creating shared libraries with Portland pgf77. --- diff --git a/ChangeLog b/ChangeLog index 36c58ffef..cdbf14fb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-14 Ralf Wildenhues + + * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_ + dependency when creating shared libraries with Portland pgf77. + 2005-03-12 Ralf Wildenhues * configure.ac: stamp-vcl is in $top_srcdir, not $top_builddir. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 857e33c82..84463389f 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3684,7 +3684,7 @@ _LT_EOF ;; pgf77* | pgf90* ) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)= - tmp_addflag=' -fpic' ;; + tmp_addflag=' -fpic -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 @@ -3697,8 +3697,6 @@ _LT_EOF if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "{ global:" > $output_objdir/$libname.ver~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~$ECHO "local: *; };" >> $output_objdir/$libname.ver~$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - else - _LT_TAGVAR(archive_expsym_cmds, $1)=$_LT_TAGVAR(archive_cmds, $1) fi else _LT_TAGVAR(ld_shlibs, $1)=no