Commit 8323be9
committed
Allow overriding COMPILER with UNVERSIONED_COMPILER
Introduce UNVERSIONED_COMPILER variable in Makefile.pre.in to allow
overriding the COMPILER macro definition during the build of
Python/getcompiler.o.
This enables reproducible builds by providing a way to set a generic
compiler identification string (e.g., "[GCC]") instead of the default
versioned one.
The rule is made conditional on UNVERSIONED_COMPILER being defined.1 parent b4344f7 commit 8323be9
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1920 | 1920 | | |
1921 | 1921 | | |
1922 | 1922 | | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
1923 | 1930 | | |
1924 | 1931 | | |
1925 | 1932 | | |
| |||
0 commit comments