summaryrefslogtreecommitdiff
path: root/tools/thirdparty/OpenFst/fst/lib/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/thirdparty/OpenFst/fst/lib/Android.mk')
-rw-r--r--tools/thirdparty/OpenFst/fst/lib/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/thirdparty/OpenFst/fst/lib/Android.mk b/tools/thirdparty/OpenFst/fst/lib/Android.mk
index 6e89e3c..dfd3686 100644
--- a/tools/thirdparty/OpenFst/fst/lib/Android.mk
+++ b/tools/thirdparty/OpenFst/fst/lib/Android.mk
@@ -16,7 +16,9 @@ LOCAL_C_INCLUDES := \
LOCAL_CFLAGS += \
-DFST_DL \
-LOCAL_CPPFLAGS += -std=c++11
+LOCAL_CLANG := true
+
+LOCAL_CPPFLAGS += -std=c++11
LOCAL_SHARED_LIBRARIES := \
@@ -24,4 +26,6 @@ LOCAL_LDLIBS += -lpthread
LOCAL_MODULE := libfst
+include external/libcxx/libcxx.mk
+
include $(BUILD_HOST_SHARED_LIBRARY)