Bug 1471339 - Link with clang_rt.profile-x86_64 library in Linux code coverage builds. r=glandium
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Fri, 29 Jun 2018 01:40:41 +0100
changeset 482437 3424dbb3eaa5d2599d54d57a1439de78c5b6ac47
parent 482436 a4e32af752472d34049a75595dc58fc795167601
child 482438 76540384ad3d56ccc16f62181321ae4efe98b7e0
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1471339
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1471339 - Link with clang_rt.profile-x86_64 library in Linux code coverage builds. r=glandium
browser/config/mozconfigs/linux64/code-coverage
--- a/browser/config/mozconfigs/linux64/code-coverage
+++ b/browser/config/mozconfigs/linux64/code-coverage
@@ -8,9 +8,10 @@ ac_add_options --disable-install-strip
 ac_add_options --disable-elf-hack
 ac_add_options --disable-sandbox
 ac_add_options --disable-profiling
 ac_add_options --disable-warnings-as-errors
 ac_add_options --enable-coverage
 
 export CFLAGS="--coverage"
 export CXXFLAGS="--coverage"
-export LDFLAGS="--coverage -L$TOOLTOOL_DIR/gtk3/usr/local/lib"
+export LDFLAGS="--coverage -L$topsrcdir/clang/lib/clang/7.0.0/lib/linux/"
+export LIBS="-lclang_rt.profile-x86_64"