⛏️ index : buildtools.git

author Michael Lotz <mmlr@mlotz.ch> 2009-01-26 23:27:38.0 +00:00:00
committer Michael Lotz <mmlr@mlotz.ch> 2009-01-26 23:27:38.0 +00:00:00
commit
ac2b422ece64d51472dc04f11257a39eed516d5f [patch]
tree
fcead7af4df70aaae0e6e81e0bbf4fb0bf06cb33
parent
53580dbb23f32a45be7211323e6732aa25c9998a
download
ac2b422ece64d51472dc04f11257a39eed516d5f.tar.gz

Fix some missing definitions that apply to Haiku.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29054 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 gcc/libtool.m4 | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gcc/libtool.m4 b/gcc/libtool.m4
index 984b2e6..5ffb1ce 100644
--- a/gcc/libtool.m4
+++ b/gcc/libtool.m4
@@ -1598,7 +1598,7 @@
  lt_cv_dlopen_libs=

  case $host_os in
  beos*)
  beos* | haiku* )
    lt_cv_dlopen="load_add_on"
    lt_cv_dlopen_libs=
    lt_cv_dlopen_self=yes
@@ -2047,7 +2047,7 @@
  fi
  ;;

beos*)
beos* | haiku*)
  library_names_spec='${libname}${shared_ext}'
  dynamic_linker="$host_os ld.so"
  shlibpath_var=LIBRARY_PATH
@@ -2211,12 +2211,6 @@
  hardcode_into_libs=yes
  ;;

haiku*)
  library_names_spec='${libname}${shared_ext}'
  dynamic_linker="$host_os ld.so"
  shlibpath_var=LIBRARY_PATH
  ;;

hpux9* | hpux10* | hpux11*)
  # Give a soname corresponding to the major version so that dld.sl refuses to
  # link against other versions.
@@ -2844,7 +2838,7 @@
  lt_cv_deplibs_check_method=pass_all
  ;;

beos*)
beos* | haiku*)
  lt_cv_deplibs_check_method=pass_all
  ;;

@@ -3116,7 +3110,7 @@
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
case $host in
*-*-beos* | *-*-haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin* | *-*-haiku*)
  # These system don't have libm, or don't need it
  ;;
*-ncr-sysv4.3*)
@@ -5608,6 +5602,11 @@
        ;;

      gnu*)
        ;;

      haiku*)
        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
        _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        ;;

      hpux9*)