Files
meta-openembedded/meta-oe/recipes-devtools/gcc/gcc-4.6/303-c99-complex-ugly-hack.patch
Khem Raj aab3fe5401 gcc-4.6: Add recipes
In addition apply linaro improvements and backports from FSF gcc-4_6-branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-10 08:53:49 +02:00

15 lines
498 B
Diff

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