Why not using your own makefile? A quick test with Stockfish 1.0 shows, that the build with g++ doesn't work in DroidFish, but with clang++ it works. Therefore, all you need is a makefile like the following one. But, before you start the compile with "make", delete the file timeoday.cpp in the source directory (Stockfish 1.0 and may be other versions too).
Code: Select all
MODULE = Stockfish
SRC_FILES = *.cpp
CFLAGS += -std=c++11 -DNDEBUG -O3 -flto -march=armv8-a
DFLAGS +=
WFLAGS += -Wfatal-errors -Wall -Wextra -Wshadow
LFLAGS += -static-libstdc++
default:
clang++ $(CFLAGS) $(DFLAGS) $(WFLAGS) $(SRC_FILES) $(LFLAGS) -o $(MODULE)
strip $(MODULE)