diff options
author | oldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-09 22:29:20 +0000 |
---|---|---|
committer | oldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-09 22:29:20 +0000 |
commit | e67abcc992189883a074e23f227f5b20ea5de814 (patch) | |
tree | 61c553b7fb3a6e89b125f43c0c4557d677c00001 /ltcf-cxx.sh | |
parent | 091eef96468bc6e6a76d7f761f5a82915b078b8b (diff) | |
download | gcc-e67abcc992189883a074e23f227f5b20ea5de814.tar.gz |
2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r-- | ltcf-cxx.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index e3489146422..c06aaff5b5b 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' |