From e53d958f008e2ad6fbe4c78be26646c5fcc7da72 Mon Sep 17 00:00:00 2001 From: Irina Iancu Date: Fri, 15 Jun 2018 10:33:45 +0200 Subject: [PATCH] Change -lgcov with --coverage in osx CROSSTOOL `-lgcov` is not supported on macOS. See #5128 --- tools/osx/crosstool/CROSSTOOL.tpl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/osx/crosstool/CROSSTOOL.tpl b/tools/osx/crosstool/CROSSTOOL.tpl index a6c42ec898f13c..a9338fdb7b7484 100644 --- a/tools/osx/crosstool/CROSSTOOL.tpl +++ b/tools/osx/crosstool/CROSSTOOL.tpl @@ -870,7 +870,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -2531,7 +2531,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -4199,7 +4199,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -5870,7 +5870,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -7569,7 +7569,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -9237,7 +9237,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -10893,7 +10893,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -12552,7 +12552,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -14239,7 +14239,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires { @@ -15896,7 +15896,7 @@ toolchain { action: "c++-link-nodeps-dynamic-library" action: "c++-link-executable" flag_group { - flag: "-lgcov" + flag: "--coverage" } } requires {