mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Update Makefile for android x86-64 builds
For developing an Android GUI it can be helpful to use the Emulator on Windows. Therefor an android_x86-64 library of Stockfish is needed. It would be nice to compile it "out-of-the-box". This change is originally suggested by Craftyawesome closes https://github.com/official-stockfish/Stockfish/pull/4927 No functional change
This commit is contained in:
parent
1a69efbb40
commit
4f99dfcae2
2 changed files with 9 additions and 0 deletions
1
AUTHORS
1
AUTHORS
|
@ -215,6 +215,7 @@ Thanar2
|
||||||
thaspel
|
thaspel
|
||||||
theo77186
|
theo77186
|
||||||
Ting-Hsuan Huang (fffelix-huang)
|
Ting-Hsuan Huang (fffelix-huang)
|
||||||
|
Tobias Steinmann
|
||||||
Tomasz Sobczyk (Sopel97)
|
Tomasz Sobczyk (Sopel97)
|
||||||
Tom Truscott
|
Tom Truscott
|
||||||
Tom Vijlbrief (tomtor)
|
Tom Vijlbrief (tomtor)
|
||||||
|
|
|
@ -521,6 +521,14 @@ ifeq ($(COMP),ndk)
|
||||||
STRIP=llvm-strip
|
STRIP=llvm-strip
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(arch),x86_64)
|
||||||
|
CXX=x86_64-linux-android21-clang++
|
||||||
|
ifneq ($(shell which x86_64-linux-android-strip 2>/dev/null),)
|
||||||
|
STRIP=x86_64-linux-android-strip
|
||||||
|
else
|
||||||
|
STRIP=llvm-strip
|
||||||
|
endif
|
||||||
|
endif
|
||||||
LDFLAGS += -static-libstdc++ -pie -lm -latomic
|
LDFLAGS += -static-libstdc++ -pie -lm -latomic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue