From: Mark P Mitchell Date: Fri, 27 Apr 2001 17:07:33 +0000 (+0000) Subject: * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds. X-Git-Tag: multi-language-merge-point~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41d1e5eaf268dedd89563268c0ff174ab10de1fc;p=thirdparty%2Flibtool.git * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds. --- diff --git a/ChangeLog b/ChangeLog index b26e8238b..c65fa1e35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-27 Mark P Mitchell + + * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds. + 2001-04-24 Thomas Tanner * TODO: describe problems with libltdl diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index 5e6bfd383..8adf3e3b5 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -302,9 +302,9 @@ case $host_os in *) if test "$with_gcc" = yes; then if test "$with_gnu_ld" = no; then - archive_cmds='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' else - archive_cmds='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib' + archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib' fi fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'