[toolchain]: get rid of gcc 4.1.2 and 4.2.4 support
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.2.4 / 303-c99-complex-ugly-hack.patch
1 Index: gcc-4.2.3/libstdc++-v3/configure
2 ===================================================================
3 --- gcc-4.2.3.orig/libstdc++-v3/configure 2008-05-21 13:45:44.017287734 +0200
4 +++ gcc-4.2.3/libstdc++-v3/configure 2008-05-21 13:45:49.305288105 +0200
5 @@ -7514,6 +7514,9 @@
6 cat >>conftest.$ac_ext <<_ACEOF
7 /* end confdefs.h. */
8 #include <complex.h>
9 +#ifdef __UCLIBC__
10 +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
11 +#endif
12 int
13 main ()
14 {