ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.

2001-05-09  Jeffrey Oldham  <oldham@codesourcery.com>

	* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.

From-SVN: r41931
This commit is contained in:
Jeffrey Oldham 2001-05-09 22:29:20 +00:00 committed by Jeffrey D. Oldham
parent 8a1532886f
commit 6ebe3121aa
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
2001-05-03 Alexandre Oliva <aoliva@redhat.com>
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable

View File

@ -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'