100-uclibc-conf.patch 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. --- a/libgomp/configure
  2. +++ b/libgomp/configure
  3. @@ -3893,7 +3893,7 @@ irix5* | irix6*)
  4. ;;
  5. # This must be Linux ELF.
  6. -linux-gnu*)
  7. +linux*)
  8. lt_cv_deplibs_check_method=pass_all
  9. ;;
  10. --- a/gcc/config/cris/linux.h
  11. +++ b/gcc/config/cris/linux.h
  12. @@ -74,7 +74,11 @@ Boston, MA 02110-1301, USA. */
  13. #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
  14. #undef CRIS_SUBTARGET_VERSION
  15. -#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
  16. +#if UCLIBC_DEFAULT
  17. +# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
  18. +#else
  19. +# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
  20. +#endif
  21. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  22. --- a/libstdc++-v3/configure
  23. +++ b/libstdc++-v3/configure
  24. @@ -4283,7 +4283,7 @@ irix5* | irix6*)
  25. ;;
  26. # This must be Linux ELF.
  27. -linux-gnu*)
  28. +linux*)
  29. lt_cv_deplibs_check_method=pass_all
  30. ;;
  31. --- a/zlib/configure
  32. +++ b/zlib/configure
  33. @@ -3429,7 +3429,7 @@ irix5* | irix6*)
  34. ;;
  35. # This must be Linux ELF.
  36. -linux-gnu*)
  37. +linux*)
  38. lt_cv_deplibs_check_method=pass_all
  39. ;;
  40. --- a/libobjc/configure
  41. +++ b/libobjc/configure
  42. @@ -3314,7 +3314,7 @@ irix5* | irix6*)
  43. ;;
  44. # This must be Linux ELF.
  45. -linux-gnu*)
  46. +linux*)
  47. lt_cv_deplibs_check_method=pass_all
  48. ;;
  49. --- a/libgfortran/configure
  50. +++ b/libgfortran/configure
  51. @@ -3721,7 +3721,7 @@ irix5* | irix6*)
  52. ;;
  53. # This must be Linux ELF.
  54. -linux-gnu*)
  55. +linux*)
  56. lt_cv_deplibs_check_method=pass_all
  57. ;;
  58. --- a/libmudflap/configure
  59. +++ b/libmudflap/configure
  60. @@ -5394,7 +5394,7 @@ irix5* | irix6*)
  61. ;;
  62. # This must be Linux ELF.
  63. -linux-gnu*)
  64. +linux*)
  65. lt_cv_deplibs_check_method=pass_all
  66. ;;
  67. --- a/boehm-gc/configure
  68. +++ b/boehm-gc/configure
  69. @@ -4323,7 +4323,7 @@ irix5* | irix6*)
  70. ;;
  71. # This must be Linux ELF.
  72. -linux-gnu*)
  73. +linux*)
  74. lt_cv_deplibs_check_method=pass_all
  75. ;;
  76. --- a/libffi/configure
  77. +++ b/libffi/configure
  78. @@ -3460,7 +3460,7 @@ irix5* | irix6*)
  79. ;;
  80. # This must be Linux ELF.
  81. -linux-gnu*)
  82. +linux*)
  83. lt_cv_deplibs_check_method=pass_all
  84. ;;
  85. --- a/libssp/configure
  86. +++ b/libssp/configure
  87. @@ -4482,7 +4482,7 @@ irix5* | irix6*)
  88. ;;
  89. # This must be Linux ELF.
  90. -linux-gnu*)
  91. +linux*)
  92. lt_cv_deplibs_check_method=pass_all
  93. ;;
  94. --- a/contrib/regression/objs-gcc.sh
  95. +++ b/contrib/regression/objs-gcc.sh
  96. @@ -105,6 +105,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
  97. then
  98. make all-gdb all-dejagnu all-ld || exit 1
  99. make install-gdb install-dejagnu install-ld || exit 1
  100. +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
  101. + then
  102. + make all-gdb all-dejagnu all-ld || exit 1
  103. + make install-gdb install-dejagnu install-ld || exit 1
  104. elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
  105. make bootstrap || exit 1
  106. make install || exit 1
  107. --- a/libjava/classpath/ltconfig
  108. +++ b/libjava/classpath/ltconfig
  109. @@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
  110. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  111. case $host_os in
  112. -linux-gnu*) ;;
  113. +linux-gnu*|linux-uclibc*) ;;
  114. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  115. esac
  116. @@ -1251,7 +1251,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
  117. ;;
  118. # This must be Linux ELF.
  119. -linux-gnu*)
  120. +linux*)
  121. version_type=linux
  122. need_lib_prefix=no
  123. need_version=no
  124. --- a/libjava/classpath/configure
  125. +++ b/libjava/classpath/configure
  126. @@ -5307,7 +5307,7 @@ irix5* | irix6*)
  127. ;;
  128. # This must be Linux ELF.
  129. -linux-gnu*)
  130. +linux*)
  131. lt_cv_deplibs_check_method=pass_all
  132. ;;
  133. --- a/libjava/configure
  134. +++ b/libjava/configure
  135. @@ -5424,7 +5424,7 @@ irix5* | irix6*)
  136. ;;
  137. # This must be Linux ELF.
  138. -linux-gnu*)
  139. +linux*)
  140. lt_cv_deplibs_check_method=pass_all
  141. ;;
  142. --- a/libtool.m4
  143. +++ b/libtool.m4
  144. @@ -739,7 +739,7 @@ irix5* | irix6*)
  145. ;;
  146. # This must be Linux ELF.
  147. -linux-gnu*)
  148. +linux*)
  149. lt_cv_deplibs_check_method=pass_all
  150. ;;
  151. --- a/ltconfig
  152. +++ b/ltconfig
  153. @@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
  154. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  155. case $host_os in
  156. -linux-gnu*) ;;
  157. +linux-gnu*|linux-uclibc*) ;;
  158. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  159. esac
  160. @@ -1253,7 +1253,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
  161. ;;
  162. # This must be Linux ELF.
  163. -linux-gnu*)
  164. +linux*)
  165. version_type=linux
  166. need_lib_prefix=no
  167. need_version=no