Bugzilla bug #85979: always use the -xs compiler option in Solaris debug
authorwtc%netscape.com
Thu, 14 Jun 2001 21:45:39 +0000
changeset 1945 6242199fe37f71822d755b5fcf6df88b43c2d41f
parent 1944 20ca5ff071175ddafc24f138996ccd646d9ca7b7
child 1946 306fe3d48a13b2059d0167f0397cc5aa2e8af43d
push idunknown
push userunknown
push dateunknown
bugs85979
Bugzilla bug #85979: always use the -xs compiler option in Solaris debug builds. Modified files: configure.in configure
configure
configure.in
--- a/configure
+++ b/configure
@@ -4308,17 +4308,17 @@ EOF
         CXXFLAGS="$CXXFLAGS -Wall"
         if test -n "$USE_MDUPDATE"; then
             CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
             CXXFLAGS="$CXXFLAGS -MDupdate \$(DEPENDENCIES)"
         fi
     else
         CC="$CC -xstrconst"
         CXX="$CXX -Qoption cg -xstrconst"
-        if test -n "$BUILD_NUMBER" && test -z "$MOZ_OPTIMIZE"; then
+        if test -z "$MOZ_OPTIMIZE"; then
             CFLAGS="$CFLAGS -xs"
             CXXFLAGS="$CXXFLAGS -xs"
         fi
     fi
     if test -n "$USE_64" && test -z "$GNU_CC"; then
         CC="$CC -xarch=v9"
         CXX="$CXX -xarch=v9"
     fi
--- a/configure.in
+++ b/configure.in
@@ -1543,17 +1543,17 @@ mips-sony-newsos*)
         CXXFLAGS="$CXXFLAGS -Wall"
         if test -n "$USE_MDUPDATE"; then
             CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
             CXXFLAGS="$CXXFLAGS -MDupdate \$(DEPENDENCIES)"
         fi
     else
         CC="$CC -xstrconst"
         CXX="$CXX -Qoption cg -xstrconst"
-        if test -n "$BUILD_NUMBER" && test -z "$MOZ_OPTIMIZE"; then
+        if test -z "$MOZ_OPTIMIZE"; then
             CFLAGS="$CFLAGS -xs"
             CXXFLAGS="$CXXFLAGS -xs"
         fi
     fi
     if test -n "$USE_64" && test -z "$GNU_CC"; then
         CC="$CC -xarch=v9"
         CXX="$CXX -xarch=v9"
     fi