Make MODE=tiny not depend on default build

This issue was spotted by @ahgamut in #292.
This commit is contained in:
Justine Tunney 2021-10-25 16:26:22 -07:00
parent 91d783352a
commit 30cd28b1f8
2 changed files with 4 additions and 3 deletions

View file

@ -7,9 +7,6 @@
#include "third_party/python/Include/import.h"
/* clang-format off */
#include "o//third_party/python/Python/importlib.inc"
#include "o//third_party/python/Python/importlib_external.inc"
/* Dummy frozen modules initializer */
/* In order to test the support for frozen modules, by default we

View file

@ -1154,6 +1154,10 @@ THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS = \
THIRD_PARTY_PYTHON_STAGE2_A_DEPS = \
$(call uniq,$(foreach x,$(THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS),$($(x))))
o/$(MODE)/third_party/python/Python/frozen.o: \
OVERRIDE_CPPFLAGS += \
-include o/$(MODE)/third_party/python/Python/importlib.inc \
-include o/$(MODE)/third_party/python/Python/importlib_external.inc
o/$(MODE)/third_party/python/Python/frozen.o: \
third_party/python/Python/frozen.c \
o/$(MODE)/third_party/python/Python/importlib.inc \