diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-04-19 21:27:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 10:44:21 +0100 |
commit | 3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea (patch) | |
tree | 66743557d4203b019988970a6fa3ac603c06c991 /meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch | |
parent | 07a6bec75c59fec06d0947ada708482900bf067a (diff) | |
download | poky-3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea.tar.gz |
gcc: Add recipes for 4.6.0
This is initial set of patches for testing them out
The patches need documentation is pending
Some patches especially uclibc related are not
needed they must be dropped.
(From OE-Core rev: 26858099bc104efc3b3d15d9298018285c551b9a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | { | ||