OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

216 lines
4.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/pkg_patch/gcc/100-uclibc-conf.patch
  5. # Copyright (C) 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- gcc/libgomp/configure
  17. +++ gcc/libgomp/configure
  18. @@ -3771,7 +3771,7 @@
  19. ;;
  20. # This must be Linux ELF.
  21. -linux-gnu*)
  22. +linux*)
  23. lt_cv_deplibs_check_method=pass_all
  24. ;;
  25. --- gcc/gcc/config/cris/linux.h
  26. +++ gcc/gcc/config/cris/linux.h
  27. @@ -74,7 +74,11 @@
  28. #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
  29. #undef CRIS_SUBTARGET_VERSION
  30. -#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
  31. +#if UCLIBC_DEFAULT
  32. +# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
  33. +#else
  34. +# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
  35. +#endif
  36. #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
  37. --- gcc/libstdc++-v3/configure
  38. +++ gcc/libstdc++-v3/configure
  39. @@ -4276,7 +4276,7 @@
  40. ;;
  41. # This must be Linux ELF.
  42. -linux-gnu*)
  43. +linux*)
  44. lt_cv_deplibs_check_method=pass_all
  45. ;;
  46. --- gcc/zlib/configure
  47. +++ gcc/zlib/configure
  48. @@ -3422,7 +3422,7 @@
  49. ;;
  50. # This must be Linux ELF.
  51. -linux-gnu*)
  52. +linux*)
  53. lt_cv_deplibs_check_method=pass_all
  54. ;;
  55. --- gcc/libobjc/configure
  56. +++ gcc/libobjc/configure
  57. @@ -3309,7 +3309,7 @@
  58. ;;
  59. # This must be Linux ELF.
  60. -linux-gnu*)
  61. +linux*)
  62. lt_cv_deplibs_check_method=pass_all
  63. ;;
  64. --- gcc/libgfortran/configure
  65. +++ gcc/libgfortran/configure
  66. @@ -3695,7 +3695,7 @@
  67. ;;
  68. # This must be Linux ELF.
  69. -linux-gnu*)
  70. +linux*)
  71. lt_cv_deplibs_check_method=pass_all
  72. ;;
  73. --- gcc/libmudflap/configure
  74. +++ gcc/libmudflap/configure
  75. @@ -5378,7 +5378,7 @@
  76. ;;
  77. # This must be Linux ELF.
  78. -linux-gnu*)
  79. +linux*)
  80. lt_cv_deplibs_check_method=pass_all
  81. ;;
  82. --- gcc/boehm-gc/configure
  83. +++ gcc/boehm-gc/configure
  84. @@ -4316,7 +4316,7 @@
  85. ;;
  86. # This must be Linux ELF.
  87. -linux-gnu*)
  88. +linux*)
  89. lt_cv_deplibs_check_method=pass_all
  90. ;;
  91. --- gcc/libffi/configure
  92. +++ gcc/libffi/configure
  93. @@ -3453,7 +3453,7 @@
  94. ;;
  95. # This must be Linux ELF.
  96. -linux-gnu*)
  97. +linux*)
  98. lt_cv_deplibs_check_method=pass_all
  99. ;;
  100. --- gcc/libssp/configure
  101. +++ gcc/libssp/configure
  102. @@ -4409,7 +4409,7 @@
  103. ;;
  104. # This must be Linux ELF.
  105. -linux-gnu*)
  106. +linux*)
  107. lt_cv_deplibs_check_method=pass_all
  108. ;;
  109. --- gcc/contrib/regression/objs-gcc.sh
  110. +++ gcc/contrib/regression/objs-gcc.sh
  111. @@ -105,6 +105,10 @@
  112. then
  113. make all-gdb all-dejagnu all-ld || exit 1
  114. make install-gdb install-dejagnu install-ld || exit 1
  115. +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
  116. + then
  117. + make all-gdb all-dejagnu all-ld || exit 1
  118. + make install-gdb install-dejagnu install-ld || exit 1
  119. elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
  120. make bootstrap || exit 1
  121. make install || exit 1
  122. --- gcc/libjava/classpath/ltconfig
  123. +++ gcc/libjava/classpath/ltconfig
  124. @@ -603,7 +603,7 @@
  125. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  126. case $host_os in
  127. -linux-gnu*) ;;
  128. +linux-gnu*|linux-uclibc*) ;;
  129. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  130. esac
  131. @@ -1251,7 +1251,7 @@
  132. ;;
  133. # This must be Linux ELF.
  134. -linux-gnu*)
  135. +linux*)
  136. version_type=linux
  137. need_lib_prefix=no
  138. need_version=no
  139. --- gcc/libjava/classpath/configure
  140. +++ gcc/libjava/classpath/configure
  141. @@ -4665,7 +4665,7 @@
  142. ;;
  143. # This must be Linux ELF.
  144. -linux-gnu*)
  145. +linux*)
  146. lt_cv_deplibs_check_method=pass_all
  147. ;;
  148. --- gcc/libjava/configure
  149. +++ gcc/libjava/configure
  150. @@ -5212,7 +5212,7 @@
  151. ;;
  152. # This must be Linux ELF.
  153. -linux-gnu*)
  154. +linux*)
  155. lt_cv_deplibs_check_method=pass_all
  156. ;;
  157. --- gcc/libtool.m4
  158. +++ gcc/libtool.m4
  159. @@ -739,7 +739,7 @@
  160. ;;
  161. # This must be Linux ELF.
  162. -linux-gnu*)
  163. +linux*)
  164. lt_cv_deplibs_check_method=pass_all
  165. ;;
  166. --- gcc/ltconfig
  167. +++ gcc/ltconfig
  168. @@ -603,7 +603,7 @@
  169. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  170. case $host_os in
  171. -linux-gnu*) ;;
  172. +linux-gnu*|linux-uclibc*) ;;
  173. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  174. esac
  175. @@ -1251,7 +1251,7 @@
  176. ;;
  177. # This must be Linux ELF.
  178. -linux-gnu*)
  179. +linux*)
  180. version_type=linux
  181. need_lib_prefix=no
  182. need_version=no