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 a008a736d8
commit fd0d7aedeb
1 changed files with 5 additions and 5 deletions

View File

@ -42,11 +42,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
@ -58,6 +53,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