patches/gcc/4.1.2/160-c99-complex-ugly-hack.patch
author Richard Strand <richard.strand@icomera.com>
Tue Jan 12 21:21:39 2010 +0100 (2010-01-12)
changeset 1726 f581da7fe34e
parent 13 068dce39f687
permissions -rw-r--r--
scripts/crosstool-ng: Change overide bin dir

Change the overide bin dir so it can be used by companion tools

Signed-off-by: Richard Strand <richard.strand@icomera.com>
[yann.morin.1998@anciens.enib.fr: more generic overide tools dir]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@13
     1
--- gcc-4.1.2.orig/libstdc++-v3/configure	2007-03-04 23:32:31.000000000 +0100
yann@13
     2
+++ gcc-4.1.2/libstdc++-v3/configure	2007-03-04 23:33:54.000000000 +0100
yann@13
     3
@@ -7324,6 +7324,9 @@
yann@1
     4
 cat >>conftest.$ac_ext <<_ACEOF
yann@1
     5
 /* end confdefs.h.  */
yann@1
     6
 #include <complex.h>
yann@1
     7
+#ifdef __UCLIBC__
yann@1
     8
+#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
yann@1
     9
+#endif
yann@1
    10
 int
yann@1
    11
 main ()
yann@1
    12
 {