]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: $linker_flag -> $compiler_flag for OpenBSD
authorBrad Smith <brad@comstyle.com>
Wed, 23 Oct 2002 00:55:33 +0000 (00:55 +0000)
committerRobert Boehne <rboehne@gnu.org>
Wed, 23 Oct 2002 00:55:33 +0000 (00:55 +0000)
archive_cmds entries using $CC.

ChangeLog
libtool.m4

index e9b8c38d3fd5d4ed13335143321423ccf7f0703c..374864616f733a12f9e93bd32d8a61c67765149b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-22  Brad Smith  <brad@comstyle.com>
+
+       * libtool.m4: $linker_flag -> $compiler_flag for OpenBSD
+       archive_cmds entries using $CC.
+
 2002-10-22  Alexandre Duret-Lutz  <adl@gnu.org>
 
        * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_ENABLE_INSTALL,
index 221a4f5d3264b4eb92f46d2bb70d1411b742d23a..03c26f0eed9b12a6e30701a085e1ff77bc825e73 100644 (file)
@@ -1672,7 +1672,7 @@ else
     hardcode_direct=yes
     hardcode_shlibpath_var=no
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       export_dynamic_flag_spec='${wl}-E'
     else
@@ -1682,7 +1682,7 @@ else
        hardcode_libdir_flag_spec='-R$libdir'
         ;;
       *)
-        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
         ;;
       esac