Merge "Update makefiles for host clang."
This commit is contained in:
commit
4795ce0660
|
@ -73,6 +73,7 @@ endif
|
|||
ifeq ($(build_type),host)
|
||||
# Only build if host builds are supported.
|
||||
ifeq ($(build_host),true)
|
||||
LOCAL_CFLAGS += -Wno-extern-c-compat
|
||||
ifneq ($($(module)_libc++),)
|
||||
include external/libcxx/libcxx.mk
|
||||
endif
|
||||
|
|
|
@ -63,7 +63,8 @@ LOCAL_CPP_EXTENSION := .cc
|
|||
LOCAL_CFLAGS += \
|
||||
-DGTEST_OS_LINUX \
|
||||
-DGTEST_HAS_STD_STRING \
|
||||
-Werror
|
||||
-Werror \
|
||||
-Wno-unnamed-type-template-args
|
||||
LOCAL_SRC_FILES := zip_archive_test.cc
|
||||
LOCAL_STATIC_LIBRARIES := libziparchive-host \
|
||||
libz \
|
||||
|
|
Loading…
Reference in New Issue