summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2005-04-29 21:14:21 +0000
committerBradley Nicholes <bnicholes@apache.org>2005-04-29 21:14:21 +0000
commite9cac1b9d468f9d1712dc2714702f90a2853084b (patch)
tree160b7d86f91949ccbf5489445d871f0bea13a3eb
parentd4f34c59f746197e3ef0d184e46406a31cc3347e (diff)
downloadhttpd-e9cac1b9d468f9d1712dc2714702f90a2853084b.tar.gz
Disable some default LibC debugging code when compiling optimized
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@165340 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/NWGNUenvironment.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 4462236104..ea3ded6b12 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -132,10 +132,13 @@ ifneq "$(ZLIBSDK)" ""
INCDIRS := $(INCDIRS);$(ZLIBSDK)
endif
-DEFINES = -DNETWARE
+DEFINES = -DNETWARE
ifndef USE_STDSOCKETS
DEFINES += -DUSE_WINSOCK
endif
+ifndef DEBUG
+DEFINES += -DNDEBUG
+endif
#
# MetroWerks static Libraries