logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

python-2.7.12-no-compiler-version.patch (488B)


  1. diff --git a/./Python/getcompiler.c.old b/./Python/getcompiler.c
  2. index 0f441de..df1e7d2 100644
  3. --- a/./Python/getcompiler.c.old
  4. +++ b/./Python/getcompiler.c
  5. @@ -5,18 +5,10 @@
  6. #ifndef COMPILER
  7. -#ifdef __GNUC__
  8. -#define COMPILER "\n[GCC " __VERSION__ "]"
  9. -#endif
  10. -
  11. -#endif /* !COMPILER */
  12. -
  13. -#ifndef COMPILER
  14. -
  15. #ifdef __cplusplus
  16. -#define COMPILER "[C++]"
  17. +#define COMPILER "[C++ 1.2.3]"
  18. #else
  19. -#define COMPILER "[C]"
  20. +#define COMPILER "[CC 1.2.3]"
  21. #endif
  22. #endif /* !COMPILER */