CHD: Fixed the build for Android

CFLAGS were set in the wrong place and the name of the DEF was wrong too -_-°
This commit is contained in:
Christoph "baka0815" Schwerdtfeger 2018-09-23 15:43:40 +02:00
parent 9bb7d96962
commit 659430e9cc
1 changed files with 5 additions and 5 deletions

View File

@ -44,11 +44,6 @@ else
NO_REC :=
endif
# 7-Zip/LZMA settings (CHDv5)
ifdef USE_LZMA
LOCAL_CFLAGS += -D_7ZIP_ST -DCHD5_LZMA
endif
$(info $$TARGET_ARCH_ABI is [${TARGET_ARCH_ABI}])
include $(LOCAL_PATH)/../../../../../core/core.mk
@ -60,6 +55,11 @@ LOCAL_CFLAGS := $(RZDCY_CFLAGS) -fPIC -fvisibility=hidden -ffunction-sections -
LOCAL_CXXFLAGS := $(RZDCY_CXXFLAGS) -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections
LOCAL_CPPFLAGS := $(RZDCY_CXXFLAGS) -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections
# 7-Zip/LZMA settings (CHDv5)
ifdef CHD5_LZMA
LOCAL_CFLAGS += -D_7ZIP_ST -DCHD5_LZMA
endif
# LOCAL_CFLAGS += -std=c++11
LOCAL_CXXFLAGS += -std=c++11