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.
yann@1
|
1 |
--- glibc-2.2.5/configure.old 2003-05-30 21:51:13.000000000 -0700
|
yann@1
|
2 |
+++ glibc-2.2.5/configure 2003-05-30 21:51:23.000000000 -0700
|
yann@1
|
3 |
@@ -1738,7 +1738,7 @@
|
yann@1
|
4 |
ac_cv_prog_cc_works=yes
|
yann@1
|
5 |
# If we can't run a trivial program, we are probably using a cross compiler.
|
yann@1
|
6 |
if (./conftest; exit) 2>/dev/null; then
|
yann@1
|
7 |
- ac_cv_prog_cc_cross=no
|
yann@1
|
8 |
+ ac_cv_prog_cc_cross=yes
|
yann@1
|
9 |
else
|
yann@1
|
10 |
ac_cv_prog_cc_cross=yes
|
yann@1
|
11 |
fi
|