1
0

100-uclibc-conf.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. --- a/contrib/regression/objs-gcc.sh
  2. +++ b/contrib/regression/objs-gcc.sh
  3. @@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
  4. then
  5. make all-gdb all-dejagnu all-ld || exit 1
  6. make install-gdb install-dejagnu install-ld || exit 1
  7. +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
  8. + then
  9. + make all-gdb all-dejagnu all-ld || exit 1
  10. + make install-gdb install-dejagnu install-ld || exit 1
  11. elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
  12. make bootstrap || exit 1
  13. make install || exit 1
  14. --- a/libjava/classpath/ltconfig
  15. +++ b/libjava/classpath/ltconfig
  16. @@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
  17. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  18. case $host_os in
  19. -linux-gnu*) ;;
  20. +linux-gnu*|linux-uclibc*) ;;
  21. linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  22. esac
  23. @@ -1247,7 +1247,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
  24. ;;
  25. # This must be Linux ELF.
  26. -linux-gnu*)
  27. +linux*)
  28. version_type=linux
  29. need_lib_prefix=no
  30. need_version=no