Index: libadblockplus-android/jni/Android.mk |
diff --git a/libadblockplus-android/jni/Android.mk b/libadblockplus-android/jni/Android.mk |
index c3612b49dd6b96c3342c14ae654ffb9dccc99e92..48a8b8f90f4ef910f7f0b93c3afd48493cf819f4 100755 |
--- a/libadblockplus-android/jni/Android.mk |
+++ b/libadblockplus-android/jni/Android.mk |
@@ -106,10 +106,12 @@ LOCAL_SRC_FILES += JniNotification.cpp JniShowNotificationCallback.cpp |
LOCAL_SRC_FILES += JniIsAllowedConnectionTypeCallback.cpp |
LOCAL_CPP_FEATURES := exceptions |
-LOCAL_CPPFLAGS += -std=c++11 |
LOCAL_C_INCLUDES := $(SHARED_V8_INCLUDE_DIR) |
+LOCAL_LDFLAGS += -Wl,--allow-multiple-definition |
+LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true |
+ |
LOCAL_STATIC_LIBRARIES := libadblockplus v8-libplatform |
ifeq ($(SHARED_V8_LIB_FILENAMES),) |