patches/gcc/4.1.1/303-c99-complex-ugly-hack.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Thu May 10 21:33:35 2007 +0000 (2007-05-10) |
changeset 85 |
ac2845835b13 |
permissions |
-rw-r--r-- |
Update the way we handle directories supplied by the user:
- the tarball directory is considered as a local copy, and tarballs are copied to a working area,
- the sources and build directories (CT_SRC_DIR and CT_BUILD_DIR) are now computed, and no longer an option,
- the build dir has been renamed from 'build' to 'targets'.
That should ease preparing a tarball of the resulting target.
yann@1
|
1 |
--- gcc-4.0.0/libstdc++-v3/configure-old 2005-04-30 22:04:48.061603912 -0500
|
yann@1
|
2 |
+++ gcc-4.0.0/libstdc++-v3/configure 2005-04-30 22:06:13.678588152 -0500
|
yann@1
|
3 |
@@ -7194,6 +7194,9 @@
|
yann@1
|
4 |
cat >>conftest.$ac_ext <<_ACEOF
|
yann@1
|
5 |
/* end confdefs.h. */
|
yann@1
|
6 |
#include <complex.h>
|
yann@1
|
7 |
+#ifdef __UCLIBC__
|
yann@1
|
8 |
+#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
|
yann@1
|
9 |
+#endif
|
yann@1
|
10 |
int
|
yann@1
|
11 |
main ()
|
yann@1
|
12 |
{
|