aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-03-19 15:20:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-06 17:59:15 +0100
commit3d094751c8712f6805f9303c75471ccd26be304e (patch)
treead71efcdabe984882e814e5d775ba743adadb1c7 /meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch
parent7b78c364b7de901f97cd8dbe56d5e02f545bf3d3 (diff)
downloadopenembedded-core-contrib-3d094751c8712f6805f9303c75471ccd26be304e.tar.gz
gcc: Add 4.9 recipes
(From OE-Core rev: f051216ea373f166016b15bbd2a2a6f136430372) (From OE-Core rev: d4573cb750bfde488682244d30266dfe675bac06) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch b/meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch
new file mode 100644
index 0000000000..b628571e5d
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.9/0010-c99-complex-ugly-hack.patch
@@ -0,0 +1,29 @@
+From 73f69d806e2c9561a54995223431a1076cfd6164 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 29 Mar 2013 08:49:57 +0400
+Subject: [PATCH 10/35] c99-complex-ugly-hack
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Upstream-Status: Inappropriate [embedded specific]
+---
+ libstdc++-v3/configure | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
+index c57a751..a1333e2 100755
+--- a/libstdc++-v3/configure
++++ b/libstdc++-v3/configure
+@@ -18734,6 +18734,9 @@ $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+ #include <complex.h>
++#ifdef __UCLIBC__
++#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
++#endif
+ int
+ main ()
+ {
+--
+1.7.10.4
+