summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>1998-08-29 22:12:53 +0000
committercls%seawood.org <devnull@localhost>1998-08-29 22:12:53 +0000
commitcc625b1f6850f7cc8051517aa4547e3b05a18e27 (patch)
tree05638f5f24724f15ae7ad9438ff98f82483d13eb
parentd2809c77230b0d35de695e04517f38d1b6e29853 (diff)
downloadnspr-hg-cc625b1f6850f7cc8051517aa4547e3b05a18e27.tar.gz
Fixed problem of autoconf not using ACCFLAGS when using --enable-debug.
-rw-r--r--config/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/config.mk b/config/config.mk
index b18e1813..ce3f5432 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -58,7 +58,11 @@ DEFINES += -UDEBUG -DNDEBUG -DTRIMMED
endif
ifdef MOZ_DEBUG
+ifdef USE_AUTOCONF
+OPTIMIZER = $(ACCFLAGS)
+else
OPTIMIZER = -g
+endif
JAVA_OPTIMIZER = -g
DEFINES = -DDEBUG -UNDEBUG -DDEBUG_$(shell $(WHOAMI)) -DTRACING
XBCFLAGS = -FR$*