patches/glibc/2.3.2/glibc-2.3.2-cross-2.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/glibc/2.3.2/glibc-2.3.2-cross-2.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,18 +0,0 @@
     1.4 -When configuring canadian cross toolchain and you're unlucky enough to be
     1.5 -using a build and host that are different, but that config.sub thinks mean the same thing,
     1.6 -you might end up without BUILD_CC being defined as 'cc' or 'gcc',
     1.7 -which might cause $CC to be used instead, which would be wrong...
     1.8 -
     1.9 -Dan Kegel
    1.10 -
    1.11 ---- glibc-2.3.2/configure.old	2004-05-26 19:46:43.000000000 -0700
    1.12 -+++ glibc-2.3.2/configure	2004-05-26 19:52:47.000000000 -0700
    1.13 -@@ -3323,7 +3323,7 @@
    1.14 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1.15 - ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1.16 - 
    1.17 --if test $host != $build; then
    1.18 -+if test "$cross_compiling" = yes; then
    1.19 -   for ac_prog in gcc cc
    1.20 - do
    1.21 -   # Extract the first word of "$ac_prog", so it can be a program name with args.