diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-23 21:13:45 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-23 22:14:17 +0200 |
commit | 8cb5f28a8d6563eea7ccf095e3961310a2d6c01b (patch) | |
tree | 603d65163bf3ef8f839b5b39a965afc303b30c19 | |
parent | 4c9c14121fee9f733ab1f731b87a6714338174c6 (diff) | |
download | meson-8cb5f28a8d6563eea7ccf095e3961310a2d6c01b.zip meson-8cb5f28a8d6563eea7ccf095e3961310a2d6c01b.tar.gz meson-8cb5f28a8d6563eea7ccf095e3961310a2d6c01b.tar.bz2 |
Use --coverage rather than hardcoding -lgcov. Closes #1311.
-rw-r--r-- | mesonbuild/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 4178f0b..68a0cd7 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -610,7 +610,7 @@ class CCompiler(Compiler): return ['--coverage'] def get_coverage_link_args(self): - return ['-lgcov'] + return ['--coverage'] def get_werror_args(self): return ['-Werror'] |