summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch
blob: db594cbb134dd5d10d371906f54d0ef67da36585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Upstream-Status: Inappropriate [embedded specific]

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 <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 ()
 {
OpenPOWER on IntegriCloud