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
I just tried updating from 1.8.0 to 2.4.0 and noticed that the makefile is set up in a way that makes it impossible to cross-compile from an ARM64 machine (M2 Ultra in this case) to Intel x86_64.
Make invocation is like this: make OS=darwin ARCH=x86_64
But -arch x86_64 is not passed to CFLAGS and LDFLAGS so the build fails.
I assume that the reverse (cross-compiling from an Intel machine to ARM64) will work but haven't tried it.
The text was updated successfully, but these errors were encountered:
I just tried updating from 1.8.0 to 2.4.0 and noticed that the makefile is set up in a way that makes it impossible to cross-compile from an ARM64 machine (M2 Ultra in this case) to Intel x86_64.
Make invocation is like this:
make OS=darwin ARCH=x86_64
But
-arch x86_64
is not passed toCFLAGS
andLDFLAGS
so the build fails.I assume that the reverse (cross-compiling from an Intel machine to ARM64) will work but haven't tried it.
The text was updated successfully, but these errors were encountered: