meta-openembedded/toolchain-layer/recipes-devtools/gcc/gcc-4.6/303-c99-complex-ugly-hack.patch
Khem Raj 6b278fbb02 gcc-4.6: Migrate recipes from OE-Core
Remove linaro patches. If one needs to use linaro
modified gcc they should use meta-linaro

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-07-09 18:40:21 +02:00

17 lines
550 B
Diff

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 ()
{