Bug 1332917: Replace linux64-ccov compile/link gcov flags with the more-consistent '--coverage' r?gmierz2+560562 draft
authorMitchell Hentges <mitch9654@gmail.com>
Sun, 22 Jan 2017 10:06:58 -0800
changeset 464778 4f9005f298e1ca9f59eece3c50999ffdbff9821e
parent 461121 8eaf154b385bbe0ff06155294ccf7962aa2d3324
child 542987 7f517c3f9dd503adefd3c2568225eeb6d6b90646
push id42427
push userbmo:mitch9654@gmail.com
push dateSun, 22 Jan 2017 17:06:46 +0000
reviewersgmierz2
bugs1332917, 560562
milestone53.0a1
Bug 1332917: Replace linux64-ccov compile/link gcov flags with the more-consistent '--coverage' r?gmierz2+560562 MozReview-Commit-ID: I4qUUVGZ9q2
browser/config/mozconfigs/linux64/code-coverage
--- a/browser/config/mozconfigs/linux64/code-coverage
+++ b/browser/config/mozconfigs/linux64/code-coverage
@@ -3,11 +3,11 @@
 TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
 
 ac_add_options --disable-install-strip
 ac_add_options --disable-jemalloc
 ac_add_options --disable-crashreporter
 ac_add_options --disable-elf-hack
 
 MOZ_CODE_COVERAGE=1
-export CFLAGS="-fprofile-arcs -ftest-coverage"
-export CXXFLAGS="-fprofile-arcs -ftest-coverage"
-export LDFLAGS="-fprofile-arcs -ftest-coverage -lgcov -L$TOOLTOOL_DIR/gtk3/usr/local/lib"
+export CFLAGS="--coverage"
+export CXXFLAGS="--coverage"
+export LDFLAGS="--coverage -L$TOOLTOOL_DIR/gtk3/usr/local/lib"