summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-05-16 09:33:59 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-05-16 09:33:59 +0000
commit34c347b9448e1c752c885cf312ec730e1176af9d (patch)
treefc42277ca7ffcb555be479eb4c36134a7ce3c68c /packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch
parente4068ea40e02f149c1d4fbd7ec4b7686bf056f80 (diff)
Add gcc 4.2.3 and gcc 3.4.6-native from Poky
Diffstat (limited to 'packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch')
-rw-r--r--packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch b/packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch
new file mode 100644
index 0000000000..2ccc80d9bb
--- /dev/null
+++ b/packages/gcc/gcc-4.2.3/303-c99-complex-ugly-hack.patch
@@ -0,0 +1,12 @@
+--- 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 ()
+ {