From 3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Apr 2011 21:27:09 -0700 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch') 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 @@ +Index: gcc-4.6.0/libstdc++-v3/configure +=================================================================== +--- gcc-4.6.0.orig/libstdc++-v3/configure ++++ gcc-4.6.0/libstdc++-v3/configure +@@ -18302,6 +18302,9 @@ $as_echo_n "checking for ISO C99 support + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include ++#ifdef __UCLIBC__ ++#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs ++#endif + int + main () + { -- cgit v1.2.3-54-g00ecf