1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Remove unsafe compiler optimizations

They wear causing conflicts with neon
This commit is contained in:
fzurita 2018-03-26 12:52:52 -04:00 committed by Sergey Lipskiy
parent e3bd9a0ccf
commit 5a45ab6807

View File

@ -141,7 +141,7 @@ ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
MY_LOCAL_SRC_FILES += $(SRCDIR)/Neon/gSPNeon.cpp
MY_LOCAL_SRC_FILES += $(SRCDIR)/Neon/RSP_LoadMatrixNeon.cpp
MY_LOCAL_CFLAGS += -D__NEON_OPT
MY_LOCAL_CFLAGS += -D__VEC4_OPT -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -funsafe-math-optimizations -fno-finite-math-only
MY_LOCAL_CFLAGS += -D__VEC4_OPT -mfpu=neon
else ifeq ($(TARGET_ARCH_ABI), x86)
# MY_LOCAL_CFLAGS += -DX86_ASM