From: Brad Smith Date: Wed, 23 Oct 2002 00:55:33 +0000 (+0000) Subject: * libtool.m4: $linker_flag -> $compiler_flag for OpenBSD X-Git-Tag: release-1-4-3~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41ea7f9bdd61a1fcd96ef937f9a7a842e0e2c677;p=thirdparty%2Flibtool.git * libtool.m4: $linker_flag -> $compiler_flag for OpenBSD archive_cmds entries using $CC. --- diff --git a/ChangeLog b/ChangeLog index e9b8c38d3..374864616 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-22 Brad Smith + + * libtool.m4: $linker_flag -> $compiler_flag for OpenBSD + archive_cmds entries using $CC. + 2002-10-22 Alexandre Duret-Lutz * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_ENABLE_INSTALL, diff --git a/libtool.m4 b/libtool.m4 index 221a4f5d3..03c26f0ee 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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