From: Alexandre Oliva Date: Fri, 27 Apr 2001 17:15:06 +0000 (+0000) Subject: * ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds. X-Git-Tag: multi-language-merge-point X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d579bb3f6014bc7f91ea5578ab3aa7792e8bc73;p=thirdparty%2Flibtool.git * ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds. --- diff --git a/ChangeLog b/ChangeLog index c65fa1e35..76902219c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-27 Alexandre Oliva + + * ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds. + 2001-04-27 Mark P Mitchell * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds. diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index 8adf3e3b5..0fe09f53a 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -276,8 +276,8 @@ case $host_os in if test $with_gcc = yes; then if test $with_gnu_ld = no; then case "$host_os" in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; + hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; + *) archive_cmds='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else