summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-04-30 10:05:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-30 10:05:48 +0000
commitc50a572061fc33274f16c45e9541705136b5fef2 (patch)
treeb6285745391fe0ac62f6dc5f14e96b595a3041a9 /packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch
parentb895e2755f42577924d1f36a4338ba73c3c29f19 (diff)
packages/gcc/gcc 4.0.2:
Apply uclibc patches from the uclibc buildroot. All these patches are guarded with #ifdefs and should not effect other configurations.
Diffstat (limited to 'packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch')
-rw-r--r--packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch b/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch
new file mode 100644
index 0000000000..0ba0a89b4f
--- /dev/null
+++ b/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch
@@ -0,0 +1,15 @@
+From:
+http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/303-c99-complex-ugly-hack.patch?rev=11715
+
+--- gcc-4.0.0/libstdc++-v3/configure-old 2005-04-30 22:04:48.061603912 -0500
++++ gcc-4.0.0/libstdc++-v3/configure 2005-04-30 22:06:13.678588152 -0500
+@@ -7194,6 +7194,9 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* 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 ()
+ {