summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index c2a846b0..54f5983f 100755
--- a/configure
+++ b/configure
@@ -3897,11 +3897,11 @@ EOF
if test -n "$MOZ_PROFILE"; then
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Z7"
- DLLFLAGS="$DLLFLAGS -DEBUG -DEBUGTYPE:CV -OPT:REF"
- LDFLAGS="$LDFLAGS -DEBUG -DEBUGTYPE:CV -OPT:REF"
fi
- if test -n "$MOZ_PDB"; then
- _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Z7"
+ if test -n "$MOZ_DEBUG_SYMBOLS"; then
+ _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Zi"
+ fi
+ if test -n "$MOZ_PROFILE" -o -n "$MOZ_DEBUG_SYMBOLS"; then
DLLFLAGS="$DLLFLAGS -DEBUG -OPT:REF"
LDFLAGS="$LDFLAGS -DEBUG -OPT:REF"
fi
@@ -3973,7 +3973,7 @@ EOF
fi
OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS'
- if test -z "$MOZ_PDB"; then
+ if test -z "$MOZ_DEBUG_SYMBOLS"; then
OS_DLLFLAGS="$OS_DLLFLAGS -PDB:NONE"
fi