From: Ralf Wildenhues Date: Mon, 14 Mar 2005 11:10:26 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_ X-Git-Tag: release-2-1b~723 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c671d2220e99e827eb278587572afd7839a789;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 eda530bb4..1181dbf43 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 5c49ba73f..ace71c744 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3690,7 +3690,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 @@ -3703,8 +3703,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