Can't set custom compiler options (apple's arm64 cross to x86-64)
-
Hello. I am trying to compile for x86-64 using apple's clang++.
I created custom compiler and added options for cross compilation:
-arch x86_64
But when running build with this compiler (I checked twice that I am using correct kit and that this compiler is selected) I have linkage error. And I see in output that clang was called with-arch arm64
argument:
What am I missing to build x64 build on arm64 platform?
-
Which build system are you using?