mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-05 05:04:44 +00:00
Make MODE=tiny not depend on default build
This issue was spotted by @ahgamut in #292.
This commit is contained in:
parent
91d783352a
commit
30cd28b1f8
2 changed files with 4 additions and 3 deletions
3
third_party/python/Python/frozen.c
vendored
3
third_party/python/Python/frozen.c
vendored
|
@ -7,9 +7,6 @@
|
||||||
#include "third_party/python/Include/import.h"
|
#include "third_party/python/Include/import.h"
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
|
|
||||||
#include "o//third_party/python/Python/importlib.inc"
|
|
||||||
#include "o//third_party/python/Python/importlib_external.inc"
|
|
||||||
|
|
||||||
/* Dummy frozen modules initializer */
|
/* Dummy frozen modules initializer */
|
||||||
|
|
||||||
/* In order to test the support for frozen modules, by default we
|
/* In order to test the support for frozen modules, by default we
|
||||||
|
|
4
third_party/python/python.mk
vendored
4
third_party/python/python.mk
vendored
|
@ -1154,6 +1154,10 @@ THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS = \
|
||||||
THIRD_PARTY_PYTHON_STAGE2_A_DEPS = \
|
THIRD_PARTY_PYTHON_STAGE2_A_DEPS = \
|
||||||
$(call uniq,$(foreach x,$(THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS),$($(x))))
|
$(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: \
|
o/$(MODE)/third_party/python/Python/frozen.o: \
|
||||||
third_party/python/Python/frozen.c \
|
third_party/python/Python/frozen.c \
|
||||||
o/$(MODE)/third_party/python/Python/importlib.inc \
|
o/$(MODE)/third_party/python/Python/importlib.inc \
|
||||||
|
|
Loading…
Add table
Reference in a new issue