summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-06-29 00:43:56 +0000
committerwtc%netscape.com <devnull@localhost>2000-06-29 00:43:56 +0000
commitcbfcbef72a6896697729d121abba301e85dbeb23 (patch)
tree638aaeaa8c0e36138dbdaf765686df7d6a0521c0
parent62ff898feb268ab80ebdde730030dafb28e7d67e (diff)
downloadnspr-hg-cbfcbef72a6896697729d121abba301e85dbeb23.tar.gz
Bugzilla bug #39712: backed out the workaround for a compiler bug.
The compiler bug is fixed in Service Pack 4 of MSVC 6.0. (NSPRPUB_CLIENT_BRANCH)
-rw-r--r--config/WIN32.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/config/WIN32.mk b/config/WIN32.mk
index 375c80c3..8c4fc172 100644
--- a/config/WIN32.mk
+++ b/config/WIN32.mk
@@ -53,14 +53,7 @@ OS_CFLAGS = -W3 -nologo -GF -Gy
ifdef BUILD_OPT
OS_CFLAGS += -MD
-# The -O2 optimization of MSVC 6.0 SP3 appears to generate
-# code that is unsafe for our use of fibers and static thread
-# local storage. We temporarily work around this problem by
-# turning off global optimizations (-Og).
OPTIMIZER = -O2
-ifeq ($(OS_TARGET),WINNT)
-OPTIMIZER += -Og-
-endif
DEFINES = -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS = -OUT:"$@"
OBJDIR_TAG = _OPT