am 4795ce06: Merge "Update makefiles for host clang."
* commit '4795ce066024c7ab235cb0c6bb229b0b6d9e5878': Update makefiles for host clang.
This commit is contained in:
commit
83ddddaaba
2 changed files with 3 additions and 1 deletions
|
|
@ -73,6 +73,7 @@ endif
|
||||||
ifeq ($(build_type),host)
|
ifeq ($(build_type),host)
|
||||||
# Only build if host builds are supported.
|
# Only build if host builds are supported.
|
||||||
ifeq ($(build_host),true)
|
ifeq ($(build_host),true)
|
||||||
|
LOCAL_CFLAGS += -Wno-extern-c-compat
|
||||||
ifneq ($($(module)_libc++),)
|
ifneq ($($(module)_libc++),)
|
||||||
include external/libcxx/libcxx.mk
|
include external/libcxx/libcxx.mk
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,8 @@ LOCAL_CPP_EXTENSION := .cc
|
||||||
LOCAL_CFLAGS += \
|
LOCAL_CFLAGS += \
|
||||||
-DGTEST_OS_LINUX \
|
-DGTEST_OS_LINUX \
|
||||||
-DGTEST_HAS_STD_STRING \
|
-DGTEST_HAS_STD_STRING \
|
||||||
-Werror
|
-Werror \
|
||||||
|
-Wno-unnamed-type-template-args
|
||||||
LOCAL_SRC_FILES := zip_archive_test.cc
|
LOCAL_SRC_FILES := zip_archive_test.cc
|
||||||
LOCAL_STATIC_LIBRARIES := libziparchive-host \
|
LOCAL_STATIC_LIBRARIES := libziparchive-host \
|
||||||
libz \
|
libz \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue