summaryrefslogtreecommitdiff
path: root/ACE/include
diff options
context:
space:
mode:
authorstallions <stallions@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-10-30 18:47:41 +0000
committerstallions <stallions@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-10-30 18:47:41 +0000
commitcb5abbca163c5b9e106521ff3053b52aa7af2c1f (patch)
tree318c0c1aa231c084a824ed6581c64515c2aa5b96 /ACE/include
parent078cfef92cfd0cf91af7fa747b286afd32bf7a5e (diff)
downloadATCD-cb5abbca163c5b9e106521ff3053b52aa7af2c1f.tar.gz
ChangeLogTag: Fri Oct 30 18:46:03 UTC 2009 Steven Stallion <stallions@ociweb.com>
Diffstat (limited to 'ACE/include')
-rw-r--r--ACE/include/makeinclude/wrapper_macros.GNU6
1 files changed, 5 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/wrapper_macros.GNU b/ACE/include/makeinclude/wrapper_macros.GNU
index 28486ccd198..9cc8aedf8a8 100644
--- a/ACE/include/makeinclude/wrapper_macros.GNU
+++ b/ACE/include/makeinclude/wrapper_macros.GNU
@@ -266,11 +266,15 @@ endif
INCLDIRS ?=
DEFFLAGS ?=
+ifeq ($(debug),0)
+ DEFFLAGS += -DNDEBUG
+endif
+
ifeq (,$(findstring -I$(ACE_ROOT),$(INCLDIRS)))
INCLDIRS += -I$(ACE_ROOT)
endif
-CPPFLAGS += $(DEFFLAGS) $(INCLDIRS)
+CPPFLAGS += $(DEFFLAGS) $(INCLDIRS)
# Define default extensions for IDL-generated files
IDL_CLIENT_HDR_EXT ?= C.h