303-c99-complex-ugly-hack.patch 344 B

123456789101112
  1. --- a/libstdc++-v3/configure
  2. +++ b/libstdc++-v3/configure
  3. @@ -7516,6 +7516,9 @@ cat confdefs.h >>conftest.$ac_ext
  4. cat >>conftest.$ac_ext <<_ACEOF
  5. /* end confdefs.h. */
  6. #include <complex.h>
  7. +#ifdef __UCLIBC__
  8. +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
  9. +#endif
  10. int
  11. main ()
  12. {