diff options
author | Dan Albert <danalbert@google.com> | 2014-05-21 10:09:59 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-05-21 10:11:25 -0700 |
commit | be7f2ef983ab49c9c3da8a872661376ea7672acf (patch) | |
tree | fc3411b0122add4bc628d1ac7531cc569311e88d | |
parent | d82e727db9b5b6343a3808a025884bfabd6bb4ec (diff) | |
download | gtest-be7f2ef983ab49c9c3da8a872661376ea7672acf.tar.gz |
Fixes gtest_libc++ on Mac by moving to clang
The version of g++ that was being used on Mac was unable to properly resolve
some of the template functions.
Change-Id: Ieab2c0938638ee0438602e49ac171e58ada2902b
-rw-r--r-- | src/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Android.mk b/src/Android.mk index e257d42..5d2520a 100644 --- a/src/Android.mk +++ b/src/Android.mk @@ -107,6 +107,7 @@ ifeq (,$(TARGET_BUILD_APPS)) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := gtest-all.cc LOCAL_C_INCLUDES := $(libgtest_host_includes) @@ -121,6 +122,7 @@ include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := gtest_main.cc LOCAL_C_INCLUDES := $(libgtest_host_includes) @@ -135,6 +137,7 @@ include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := gtest-all.cc LOCAL_C_INCLUDES := $(libgtest_target_includes) @@ -149,6 +152,7 @@ include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := gtest_main.cc LOCAL_C_INCLUDES := $(libgtest_target_includes) |