summaryrefslogtreecommitdiff
path: root/dev-lang/python/files/3.5-secondary-targets.patch
blob: eb3b0c71e7d51e08c1f527fbbf937b5311b1de19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Mark all targets as "secondary"

This allows make to avoid rebuilding unnecessary intermediate files, which
is useful when cross-compiling.

See Parser/pgen and Programs/_freeze_importlib in Makefile.pre.in.

diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1672,6 +1672,8 @@
 .PHONY: smelly funny patchcheck touch altmaninstall commoninstall
 .PHONY: gdbhooks
 
+.SECONDARY:
+
 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
 # Local Variables:
 # mode: makefile