changeset 1388:d133d4052378

6858127: Missing -DNDEBUG on Linux and Windows native code compiles Reviewed-by: tbell, dcubed
author ohair
date Wed, 08 Jul 2009 09:11:24 -0700
parents 1df67a3ecce8
children d3a08f8c3c86
files make/common/Defs-linux.gmk make/common/Defs-windows.gmk
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Defs-linux.gmk	Wed Jul 08 12:07:43 2009 +0800
+++ b/make/common/Defs-linux.gmk	Wed Jul 08 09:11:24 2009 -0700
@@ -193,7 +193,7 @@
 CPPFLAGS_COMMON += -D_LP64=1
 endif
 
-CPPFLAGS_OPT    = 
+CPPFLAGS_OPT    = -DNDEBUG
 CPPFLAGS_DBG    = -DDEBUG
 ifneq ($(PRODUCT), java)
   CPPFLAGS_DBG    += -DLOGGING 
--- a/make/common/Defs-windows.gmk	Wed Jul 08 12:07:43 2009 +0800
+++ b/make/common/Defs-windows.gmk	Wed Jul 08 09:11:24 2009 -0700
@@ -363,7 +363,7 @@
   CFLAGS_COMMON += -WX
 endif
 
-CPPFLAGS_OPT    = 
+CPPFLAGS_OPT    = -DNDEBUG
 CPPFLAGS_DBG    = -DDEBUG -DLOGGING
 
 CXXFLAGS_COMMON = $(CFLAGS_COMMON)