You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Makefile assumes it is doing a host compile always:
ifndef CPU
CPU := $(shell uname -m | sed -e s/i.86/i386/ -e s/amd64/x86_64/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/)
endif
ifndef SYS
SYS := $(shell uname -s)
endif
So cross compile will result in the wrong info for these two variables.
Can be observed in current CI on macOS where the arm64 target is being build on an intel Mac:
Run .github/workflows/scripts/homebrew.sh build-arm64
[..]
[LD] ezquake-darwin-x86_64
The text was updated successfully, but these errors were encountered:
For context, only cosmetic issue, the script calling the executable is also incorrectly generated, so the correct executable launches no matter what name it has. Looks bad though, and adds confusion.
Currently
Makefile
assumes it is doing a host compile always:So cross compile will result in the wrong info for these two variables.
Can be observed in current CI on macOS where the arm64 target is being build on an intel Mac:
The text was updated successfully, but these errors were encountered: