summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-08-13 04:35:20 +0000
committerwtc%netscape.com <devnull@localhost>1998-08-13 04:35:20 +0000
commitcfa4c1c3e7ea45dc0ed9d9b3cbed4bf7b8c81271 (patch)
tree208ee9f62d7aab80235af04d83b8351d465732a5
parent1f29d3584bfded40ba7663a474b6cb75221d1c67 (diff)
downloadnspr-hg-cfa4c1c3e7ea45dc0ed9d9b3cbed4bf7b8c81271.tar.gz
OPTIMIZER: use -O2 in optimized builds. Do not use -g (for now) in
debug builds because it would produce a huge executable.
-rw-r--r--config/dgux.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/dgux.mk b/config/dgux.mk
index 73a4a1a0..67f966bd 100644
--- a/config/dgux.mk
+++ b/config/dgux.mk
@@ -39,4 +39,9 @@ ARCH = dgux
NOSUCHFILE = /no-such-file
+ifdef BUILD_OPT
+OPTIMIZER = -O2
+else
+# -g would produce a huge executable.
OPTIMIZER =
+endif