]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds. multi-language-merge-point
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 27 Apr 2001 17:15:06 +0000 (17:15 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 27 Apr 2001 17:15:06 +0000 (17:15 +0000)
ChangeLog
ltcf-cxx.sh

index c65fa1e35885c3c783103e795b52c2c2e3b48ec8..76902219c7f7063e1fe50888334b4d8db0c647c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds.
+
 2001-04-27  Mark P Mitchell  <mark@codesourcery.com>
 
        * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
index 8adf3e3b5dbf1d9dcc039b29baff77893b691cdf..0fe09f53af65ae0fd904182e00b789827beed710 100644 (file)
@@ -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