disable-ldd-check.patch 865 B

1234567891011121314151617181920
  1. diff -Nur gcc-4.5.3.orig/gcc/configure gcc-4.5.3/gcc/configure
  2. --- gcc-4.5.3.orig/gcc/configure 2010-12-03 13:35:37.000000000 +0100
  3. +++ gcc-4.5.3/gcc/configure 2011-10-19 11:29:26.155085565 +0200
  4. @@ -24579,16 +24579,7 @@
  5. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_gnu_unique_object" >&5
  6. $as_echo "$gcc_cv_as_gnu_unique_object" >&6; }
  7. if test $gcc_cv_as_gnu_unique_object = yes; then
  8. - # Also check for ld.so support, i.e. glibc 2.11 or higher.
  9. - if test x$host = x$build -a x$host = x$target &&
  10. - glibcver=`ldd --version 2>/dev/null | sed 's/.* //;q'`; then
  11. - glibcmajor=`expr "$glibcver" : "\([0-9]*\)"`
  12. - glibcminor=`expr "$glibcver" : "[2-9]*\.\([0-9]*\)"`
  13. - glibcnum=`expr $glibcmajor \* 1000 + $glibcminor`
  14. - if test "$glibcnum" -ge 2011 ; then
  15. enable_gnu_unique_object=yes
  16. - fi
  17. - fi
  18. fi
  19. fi