mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-14 09:52:41 +01:00
Don't use NEON instructions for non-NEON ARM CPUs
Since NDK r21b NEON instructions are used by default. Explicitly disable them for non-NEON CPUs.
This commit is contained in:
@@ -2,12 +2,15 @@ LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
|
||||
LOCAL_MODULE := rtb
|
||||
LOCAL_SRC_FILES := \
|
||||
bitBoard.cpp material.cpp moveGen.cpp position.cpp rtb-probe.cpp tbprobe.cpp \
|
||||
RtbProbe.cpp
|
||||
|
||||
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
||||
LOCAL_ARM_NEON := false
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS := --std=c++11 \
|
||||
-I $(LOCAL_PATH)/sysport/ -I -DNDEBUG -Wall
|
||||
|
||||
|
||||
Reference in New Issue
Block a user