2
1

100-uclibc-conf.patch 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --- gdb-6.3/bfd/configure.orig Fri Oct 8 16:53:56 2004
  2. +++ gdb-6.3/bfd/configure Sun Feb 27 18:32:58 2005
  3. @@ -3583,6 +3583,11 @@
  4. lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
  5. ;;
  6. +linux-uclibc*)
  7. + lt_cv_deplibs_check_method=pass_all
  8. + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
  9. + ;;
  10. +
  11. netbsd* | knetbsd*-gnu)
  12. if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  13. lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
  14. --- gdb-6.3/libtool.m4.orig Wed Jul 21 21:21:41 2004
  15. +++ gdb-6.3/libtool.m4 Mon Feb 28 00:08:11 2005
  16. @@ -653,6 +653,11 @@
  17. fi
  18. ;;
  19. +linux-uclibc*)
  20. + lt_cv_deplibs_check_method=pass_all
  21. + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
  22. + ;;
  23. +
  24. newsos6)
  25. [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
  26. lt_cv_file_magic_cmd=/usr/bin/file
  27. --- gdb-6.3/ltconfig.orig Tue Oct 5 15:34:42 2004
  28. +++ gdb-6.3/ltconfig Sun Feb 27 18:14:41 2005
  29. @@ -602,7 +602,7 @@
  30. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  31. case $host_os in
  32. -linux-gnu*) ;;
  33. +linux-gnu*|linux-uclibc*) ;;
  34. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  35. esac
  36. @@ -1270,6 +1270,24 @@
  37. dynamic_linker='GNU/Linux ld.so'
  38. ;;
  39. +linux-uclibc*)
  40. + version_type=linux
  41. + need_lib_prefix=no
  42. + need_version=no
  43. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  44. + soname_spec='${libname}${release}.so$major'
  45. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  46. + shlibpath_var=LD_LIBRARY_PATH
  47. + shlibpath_overrides_runpath=no
  48. + # This implies no fast_install, which is unacceptable.
  49. + # Some rework will be needed to allow for fast_install
  50. + # before this can be enabled.
  51. + # Note: copied from linux-gnu, and may not be appropriate.
  52. + hardcode_into_libs=yes
  53. + # Assume using the uClibc dynamic linker.
  54. + dynamic_linker="uClibc ld.so"
  55. + ;;
  56. +
  57. netbsd*)
  58. need_lib_prefix=no
  59. need_version=no
  60. --- gdb-6.3/opcodes/configure.orig Fri Sep 17 08:13:38 2004
  61. +++ gdb-6.3/opcodes/configure Mon Feb 28 00:09:42 2005
  62. @@ -3595,6 +3595,11 @@
  63. fi
  64. ;;
  65. +linux-uclibc*)
  66. + lt_cv_deplibs_check_method=pass_all
  67. + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
  68. + ;;
  69. +
  70. newsos6)
  71. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  72. lt_cv_file_magic_cmd=/usr/bin/file