diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch new file mode 100644 index 0000000000..47ae88e6b2 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Index: gcc-4.6.0/libstdc++-v3/configure | ||
2 | =================================================================== | ||
3 | --- gcc-4.6.0.orig/libstdc++-v3/configure | ||
4 | +++ gcc-4.6.0/libstdc++-v3/configure | ||
5 | @@ -18302,6 +18302,9 @@ $as_echo_n "checking for ISO C99 support | ||
6 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
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 | { | ||