Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79005e03 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Pass compiler flags for C++ too, and add a flag that enables warnings about...

Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors
parent bd1ee348
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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