aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-25 15:32:35 -0800
committerDan Albert <danalbert@google.com>2014-11-25 15:32:35 -0800
commitcfb846e28c4d447eeb094a5578f13f7eb83333e2 (patch)
tree08a555d29b46d645880b7689a84206aafb2e7214
parentb7434caa51427a0f5ab5c807e1a92d6ca2af8884 (diff)
downloadopenfst-cfb846e28c4d447eeb094a5578f13f7eb83333e2.tar.gz
Fix build by moving to clang.
G++ is trying to parse `if (it1->end < it2->end)` with `< it->` being interpreted as a template parameter. Move to clang. Bug: 18466763 Change-Id: Idf6fcdbc08963ce2b1cbe0668d25bfa39e0be38d
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 44618fc..c566edf 100644
--- a/Android.mk
+++ b/Android.mk
@@ -21,5 +21,5 @@ LOCAL_SDK_VERSION := 14
LOCAL_SRC_FILES := $(call private-function-all-cpp-files-under, src/lib)
LOCAL_MODULE := libopenfst-gnustl-rtti
-
+LOCAL_CLANG := true
include $(BUILD_STATIC_LIBRARY)