mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Fix MODE=aarch64 cross-compiling
This change fixes a regression that happened some time ago when building for AARCH64 using the vendored toolchain rather than cosmocc. The errors that would show up `Relocations in generic ELF (EM: 62)` have been fixed
This commit is contained in:
parent
ca5e361919
commit
96185e1ac0
2 changed files with 3 additions and 1 deletions
2
third_party/python/BUILD.mk
vendored
2
third_party/python/BUILD.mk
vendored
|
@ -4193,7 +4193,7 @@ $(THIRD_PARTY_PYTHON_HELLO_OBJS): private PYFLAGS += -C2 -m
|
|||
# this directory entry is at the tip of the tree
|
||||
# therefore building it requires special care
|
||||
o/$(MODE)/third_party/python/Lib/.zip.o: third_party/python/.python
|
||||
@$(COMPILE) -wAZIPOBJ $(ZIPOBJ) -C2 $(OUTPUT_OPTION) third_party/python/.python
|
||||
@$(COMPILE) -wAZIPOBJ $(ZIPOBJ) -a$(ARCH) -C2 $(OUTPUT_OPTION) third_party/python/.python
|
||||
|
||||
# these need to be explictly defined because landlock make won't sandbox
|
||||
# prerequisites with a trailing slash.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue