summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-05-18 08:40:37 +0200
committerGitHub <noreply@github.com>2021-05-18 08:40:37 +0200
commit834498e178684a7e2da49b4efe1adea33e0026b0 (patch)
treec3ef0398d242eb4565e0e04b3d6806e20a5df631 /Makefile.pre.in
parenteaede0ded72e67cee4a91c086847d54cb64ca74c (diff)
downloadcpython-git-834498e178684a7e2da49b4efe1adea33e0026b0.tar.gz
bpo-44131: Fix Makefile for test_frozenmain (GH-26203)
Remove Programs/test_frozenmain.h Makefile target: it ran make in parallel which caused build errors on LTO+PGO builds.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 83788a6403..798c53fa7c 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -720,15 +720,13 @@ Makefile Modules/config.c: Makefile.pre \
@mv config.c Modules
@echo "The Makefile was updated, you may need to re-run make."
+.PHONY: regen-test-frozenmain
regen-test-frozenmain: $(BUILDPYTHON)
# Regenerate Programs/test_frozenmain.h
# from Programs/test_frozenmain.py
# using Programs/freeze_test_frozenmain.py
$(RUNSHARED) ./$(BUILDPYTHON) Programs/freeze_test_frozenmain.py Programs/test_frozenmain.h
-Programs/test_frozenmain.h: Programs/freeze_test_frozenmain.py Programs/test_frozenmain.py
- $(MAKE) regen-test-frozenmain
-
Programs/_testembed: Programs/_testembed.o $(LIBRARY_DEPS)
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)