From 79005e03cced503d7fd42d5c8053e1fae377be53 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Tue, 7 Jul 2009 13:59:38 -0700 Subject: [PATCH] Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors --- core/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/config.mk b/core/config.mk index a5f372062..b705de5b9 100644 --- a/core/config.mk +++ b/core/config.mk @@ -78,8 +78,8 @@ SHOW_COMMANDS:= $(filter showcommands,$(MAKECMDGOALS)) COMMON_GLOBAL_CFLAGS:= -DANDROID -fmessage-length=0 -W -Wall -Wno-unused COMMON_RELEASE_CFLAGS:= -DNDEBUG -UDEBUG -COMMON_GLOBAL_CPPFLAGS:= -COMMON_RELEASE_CPPFLAGS:= +COMMON_GLOBAL_CPPFLAGS:= -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Wnon-virtual-dtor +COMMON_RELEASE_CPPFLAGS:= -DNDEBUG -UDEBUG # Set the extensions used for various packages COMMON_PACKAGE_SUFFIX := .zip