Changed default gcc for ps3
[openwrt-10.03/.git] / toolchain / gcc / patches / 4.1.2 / 303-c99-complex-ugly-hack.patch
1 --- a/libstdc++-v3/configure
2 +++ b/libstdc++-v3/configure
3 @@ -7324,6 +7324,9 @@ cat confdefs.h >>conftest.$ac_ext
4  cat >>conftest.$ac_ext <<_ACEOF
5  /* end confdefs.h.  */
6  #include <complex.h>
7 +#ifdef __UCLIBC__
8 +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
9 +#endif
10  int
11  main ()
12  {