python-2.7.12-no-compiler-version.patch (488B)
- diff --git a/./Python/getcompiler.c.old b/./Python/getcompiler.c
- index 0f441de..df1e7d2 100644
- --- a/./Python/getcompiler.c.old
- +++ b/./Python/getcompiler.c
- @@ -5,18 +5,10 @@
- #ifndef COMPILER
- -#ifdef __GNUC__
- -#define COMPILER "\n[GCC " __VERSION__ "]"
- -#endif
- -
- -#endif /* !COMPILER */
- -
- -#ifndef COMPILER
- -
- #ifdef __cplusplus
- -#define COMPILER "[C++]"
- +#define COMPILER "[C++ 1.2.3]"
- #else
- -#define COMPILER "[C]"
- +#define COMPILER "[CC 1.2.3]"
- #endif
- #endif /* !COMPILER */