Merge change 6412 into donut

* changes:
  Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors
This commit is contained in:
Android (Google) Code Review 2009-07-08 13:01:22 -07:00
commit e41accf68e
1 changed files with 2 additions and 2 deletions

View File

@ -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