]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 23:27:56 +0000 (23:27 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 23:27:56 +0000 (23:27 +0000)
<solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
flags.
Reported by Alex Hornby <alex@anvil.co.uk>

ChangeLog
ltconfig.in

index 56bf68dcf09aa13026fa1d7c0b1bd2075e9e31e0..56bc89285d333e9227bda122b719faa991a322ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
+       <solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
+       flags.
+       Reported by Alex Hornby <alex@anvil.co.uk>
+
 2000-09-02  Makoto Ishisone  <ishisone@sra.co.jp>
 
        * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
index e28d0c3aa5b97e038a00f8f191d5d22b7b640824..7a0b2ce1957ab8130924e476085e1ed544c7bcf1 100755 (executable)
@@ -1023,7 +1023,7 @@ EOF
       allow_undefined_flag=unsupported
       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       # support --undefined.  This deserves some investigation.  FIXME
-      archive_cmds='$CC -nostart $libobjs $deplibs $linker_flags ${wl}-soname $wl$soname -o $lib'
+      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     else
       ld_shlibs=no
     fi
@@ -1124,8 +1124,8 @@ EOF
 
 EOF
     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
-      archive_cmds='$CC -shared $libobjs $deplibs $linker_flags ${wl}-soname $wl$soname -o $lib'
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $linker_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     else
       ld_shlibs=no
     fi