binutils-2.22.52.0.4-no-config-h-check.patch 786 B

1234567891011121314151617181920212223242526272829
  1. --- a/bfd/bfd-in.h 2012-08-02 10:56:34.561769686 +0100
  2. +++ b/bfd/bfd-in.h 2012-08-02 11:13:27.134797755 +0100
  3. @@ -25,11 +25,6 @@
  4. #ifndef __BFD_H_SEEN__
  5. #define __BFD_H_SEEN__
  6. -/* PR 14072: Ensure that config.h is included first. */
  7. -#if !defined PACKAGE && !defined PACKAGE_VERSION
  8. -#error config.h must be included before this header
  9. -#endif
  10. -
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. --- a/bfd/bfd-in2.h 2012-08-02 10:56:34.349769680 +0100
  15. +++ b/bfd/bfd-in2.h 2012-08-02 11:13:40.015798113 +0100
  16. @@ -32,11 +32,6 @@
  17. #ifndef __BFD_H_SEEN__
  18. #define __BFD_H_SEEN__
  19. -/* PR 14072: Ensure that config.h is included first. */
  20. -#if !defined PACKAGE && !defined PACKAGE_VERSION
  21. -#error config.h must be included before this header
  22. -#endif
  23. -
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif