summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2011-07-28 04:13:54 +0000
committerwtc%google.com <devnull@localhost>2011-07-28 04:13:54 +0000
commit3d987de1e278ee8d024f0a3bcb6f37bccfc30b08 (patch)
treea7df5648ea72a48777fac1002b4c9b1f6c3d210d
parent85da95cf2c9c931bdf2c390bd22e088d8e8c4c99 (diff)
downloadnspr-hg-NSPR_4_8_9_BETA4.tar.gz
Bug 655058: Remove -freorder-blocks-and-partition from PGO build optionsNSPR_4_8_9_BETA4
because it breaks Linux crash reports. The patch is contributed by Mike Hommey <mh+mozilla@glandium.org>. r=ted.mielczarek,wtc. Modified Files: configure configure.in
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 052d9a26..8b7c20d0 100755
--- a/configure
+++ b/configure
@@ -2822,7 +2822,7 @@ echo "$ac_t""$result" 1>&6
if test $result = "yes"; then
PROFILE_GEN_LDFLAGS="-fprofile-generate"
- PROFILE_USE_CFLAGS="-fprofile-use -fprofile-correction -Wcoverage-mismatch -freorder-blocks-and-partition"
+ PROFILE_USE_CFLAGS="-fprofile-use -fprofile-correction -Wcoverage-mismatch"
PROFILE_USE_LDFLAGS="-fprofile-use"
fi
diff --git a/configure.in b/configure.in
index c1f90585..81e9c1fa 100644
--- a/configure.in
+++ b/configure.in
@@ -676,7 +676,7 @@ AC_MSG_RESULT([$result])
if test $result = "yes"; then
PROFILE_GEN_LDFLAGS="-fprofile-generate"
- PROFILE_USE_CFLAGS="-fprofile-use -fprofile-correction -Wcoverage-mismatch -freorder-blocks-and-partition"
+ PROFILE_USE_CFLAGS="-fprofile-use -fprofile-correction -Wcoverage-mismatch"
PROFILE_USE_LDFLAGS="-fprofile-use"
fi