mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Allow cross-compilation of Android version on Mac
When compiling for Android (COMP=ndk) on macOS, the build fails because the NDK's LLVM toolchain does not recognize the macOS-specific flags -mdynamic-no-pic and -mmacosx-version-min. This PR wraps these flags with ifneq ($(COMP),ndk) condition to skip them during Android cross-compilation. Please squash and merge this PR. closes https://github.com/official-stockfish/Stockfish/pull/6927 No functional change
This commit is contained in:
Reference in New Issue
Block a user