From e13fd0c67018bff5f0b6e39ac80aca339fb3c3b6 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 29 Jun 2018 01:40:41 +0100 Subject: [PATCH] Bug 1471339 - Link with clang_rt.profile-x86_64 library in Linux code coverage builds. r=glandium --HG-- extra : rebase_source : 390bcc57b8decc423801a7e497be18f8baeadac5 --- browser/config/mozconfigs/linux64/code-coverage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/config/mozconfigs/linux64/code-coverage b/browser/config/mozconfigs/linux64/code-coverage index 66401cfda80b..8e3ff958a647 100644 --- a/browser/config/mozconfigs/linux64/code-coverage +++ b/browser/config/mozconfigs/linux64/code-coverage @@ -13,4 +13,5 @@ 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"