patches/glibc/2.2.5/glibc-2.2.5-crossyes.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 11 21:26:03 2007 +0000 (2007-04-11)
changeset 37 21bcbfde8094
permissions -rw-r--r--
Add an option for those having the kernel headers pre-installed from a customised local tree.
In that case, neither download, nor extract, nor patch.
     1 --- glibc-2.2.5/configure.old	2003-05-30 21:51:13.000000000 -0700
     2 +++ glibc-2.2.5/configure	2003-05-30 21:51:23.000000000 -0700
     3 @@ -1738,7 +1738,7 @@
     4    ac_cv_prog_cc_works=yes
     5    # If we can't run a trivial program, we are probably using a cross compiler.
     6    if (./conftest; exit) 2>/dev/null; then
     7 -    ac_cv_prog_cc_cross=no
     8 +    ac_cv_prog_cc_cross=yes
     9    else
    10      ac_cv_prog_cc_cross=yes
    11    fi