6858127: Missing -DNDEBUG on Linux and Windows native code compiles
Reviewed-by: tbell, dcubed
--- a/jdk/make/common/Defs-linux.gmk Wed Jul 08 12:07:43 2009 +0800
+++ b/jdk/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/jdk/make/common/Defs-windows.gmk Wed Jul 08 12:07:43 2009 +0800
+++ b/jdk/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)