100-uclibc-conf.patch 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. --- binutils-2.16.91.0.7/bfd/configure
  2. +++ binutils-2.16.91.0.7/bfd/configure
  3. @@ -3576,7 +3576,7 @@
  4. ;;
  5. # This must be Linux ELF.
  6. -linux-gnu*)
  7. +linux-gnu*|linux-uclibc*)
  8. lt_cv_deplibs_check_method=pass_all
  9. ;;
  10. --- binutils-2.16.91.0.7/binutils/configure
  11. +++ binutils-2.16.91.0.7/binutils/configure
  12. @@ -3411,7 +3411,7 @@
  13. ;;
  14. # This must be Linux ELF.
  15. -linux-gnu*)
  16. +linux-gnu*|linux-uclibc*)
  17. lt_cv_deplibs_check_method=pass_all
  18. ;;
  19. --- binutils-2.16.91.0.7/configure
  20. +++ binutils-2.16.91.0.7/configure
  21. @@ -1270,7 +1270,7 @@
  22. am33_2.0-*-linux*)
  23. noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
  24. ;;
  25. - sh-*-linux*)
  26. + sh*-*-linux*)
  27. noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
  28. ;;
  29. sh*-*-pe|mips*-*-pe|*arm-wince-pe)
  30. @@ -1578,7 +1578,7 @@
  31. romp-*-*)
  32. noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
  33. ;;
  34. - sh-*-* | sh64-*-*)
  35. + sh*-*-* | sh64-*-*)
  36. case "${host}" in
  37. i[3456789]86-*-vsta) ;; # don't add gprof back in
  38. i[3456789]86-*-go32*) ;; # don't add gprof back in
  39. --- binutils-2.16.91.0.7/configure.in
  40. +++ binutils-2.16.91.0.7/configure.in
  41. @@ -468,7 +468,7 @@
  42. am33_2.0-*-linux*)
  43. noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
  44. ;;
  45. - sh-*-linux*)
  46. + sh*-*-linux*)
  47. noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
  48. ;;
  49. sh*-*-pe|mips*-*-pe|*arm-wince-pe)
  50. @@ -776,7 +776,7 @@
  51. romp-*-*)
  52. noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
  53. ;;
  54. - sh-*-* | sh64-*-*)
  55. + sh*-*-* | sh64-*-*)
  56. case "${host}" in
  57. i[[3456789]]86-*-vsta) ;; # don't add gprof back in
  58. i[[3456789]]86-*-go32*) ;; # don't add gprof back in
  59. --- binutils-2.16.91.0.7/gas/configure
  60. +++ binutils-2.16.91.0.7/gas/configure
  61. @@ -3411,7 +3411,7 @@
  62. ;;
  63. # This must be Linux ELF.
  64. -linux-gnu*)
  65. +linux-gnu*|linux-uclibc*)
  66. lt_cv_deplibs_check_method=pass_all
  67. ;;
  68. --- binutils-2.16.91.0.7/gprof/configure
  69. +++ binutils-2.16.91.0.7/gprof/configure
  70. @@ -3419,6 +3419,11 @@
  71. lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
  72. ;;
  73. +linux-uclibc*)
  74. + lt_cv_deplibs_check_method=pass_all
  75. + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
  76. + ;;
  77. +
  78. netbsd* | knetbsd*-gnu)
  79. if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  80. lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
  81. --- binutils-2.16.91.0.7/ld/configure
  82. +++ binutils-2.16.91.0.7/ld/configure
  83. @@ -3413,7 +3413,7 @@
  84. ;;
  85. # This must be Linux ELF.
  86. -linux-gnu*)
  87. +linux-gnu*|linux-uclibc*)
  88. lt_cv_deplibs_check_method=pass_all
  89. ;;
  90. --- binutils-2.16.91.0.7/libtool.m4
  91. +++ binutils-2.16.91.0.7/libtool.m4
  92. @@ -739,7 +739,7 @@
  93. ;;
  94. # This must be Linux ELF.
  95. -linux-gnu*)
  96. +linux-gnu*|linux-uclibc*)
  97. lt_cv_deplibs_check_method=pass_all
  98. ;;
  99. --- binutils-2.16.91.0.7/ltconfig
  100. +++ binutils-2.16.91.0.7/ltconfig
  101. @@ -602,6 +602,7 @@
  102. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  103. case $host_os in
  104. +linux-uclibc*) ;;
  105. linux-gnu*) ;;
  106. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  107. esac
  108. @@ -1247,7 +1248,7 @@
  109. ;;
  110. # This must be Linux ELF.
  111. -linux-gnu*)
  112. +linux-gnu*|linux-uclibc*)
  113. version_type=linux
  114. need_lib_prefix=no
  115. need_version=no
  116. --- binutils-2.16.91.0.7/opcodes/configure
  117. +++ binutils-2.16.91.0.7/opcodes/configure
  118. @@ -3579,7 +3579,7 @@
  119. ;;
  120. # This must be Linux ELF.
  121. -linux-gnu*)
  122. +linux-gnu*|linux-uclibc*)
  123. lt_cv_deplibs_check_method=pass_all
  124. ;;