From 0ace247e41fe3108ab0bc28e36fada4388f09903 Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Thu, 17 Jan 2019 18:54:43 +0800 Subject: [PATCH] [android] disable warning no virtual destructor (#3466) Change-Id: Ib1e28d064886af3cc5103395c284d772b3c85504 --- Android.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Android.mk b/Android.mk index 48e708302..a83f6a862 100644 --- a/Android.mk +++ b/Android.mk @@ -78,7 +78,7 @@ LOCAL_CFLAGS := \ -DOPENTHREAD_POSIX_APP=1 \ -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-posix-config.h\" \ -DSPINEL_PLATFORM_HEADER=\"spinel_platform.h\" \ - -Wno-error=non-virtual-dtor \ + -Wno-non-virtual-dtor \ $(NULL) LOCAL_SRC_FILES := \ @@ -272,7 +272,7 @@ LOCAL_CFLAGS := \ -DOPENTHREAD_POSIX_APP=2 \ -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-posix-config.h\" \ -DSPINEL_PLATFORM_HEADER=\"spinel_platform.h\" \ - -Wno-error=non-virtual-dtor \ + -Wno-non-virtual-dtor \ $(NULL) LOCAL_LDLIBS := \ @@ -319,7 +319,7 @@ LOCAL_CFLAGS := \ -DOPENTHREAD_POSIX_APP=1 \ -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"openthread-core-posix-config.h\" \ -DSPINEL_PLATFORM_HEADER=\"spinel_platform.h\" \ - -Wno-error=non-virtual-dtor \ + -Wno-non-virtual-dtor \ $(NULL) LOCAL_LDLIBS := \