diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/303-c99-complex-ugly-hack.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/303-c99-complex-ugly-hack.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/303-c99-complex-ugly-hack.patch b/meta/recipes-devtools/gcc/gcc-4.8/303-c99-complex-ugly-hack.patch new file mode 100644 index 0000000000..d69c54696a --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.8/303-c99-complex-ugly-hack.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | Index: gcc-4_7-branch/libstdc++-v3/configure | ||
4 | =================================================================== | ||
5 | --- gcc-4_7-branch.orig/libstdc++-v3/configure 2012-04-10 10:30:37.347368481 -0700 | ||
6 | +++ gcc-4_7-branch/libstdc++-v3/configure 2012-04-10 10:31:22.787370652 -0700 | ||
7 | @@ -18767,6 +18767,9 @@ | ||
8 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
9 | /* end confdefs.h. */ | ||
10 | #include <complex.h> | ||
11 | +#ifdef __UCLIBC__ | ||
12 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs | ||
13 | +#endif | ||
14 | int | ||
15 | main () | ||
16 | { | ||