From 5764a26a4cc179647c65b10e9e7a231dc98ccade Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 15 Aug 2017 01:37:09 +0530 Subject: gfortran: Add coverage arguments --- mesonbuild/compilers/fortran.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mesonbuild/compilers') diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index 49200bb..2957a7c 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -165,6 +165,12 @@ class GnuFortranCompiler(FortranCompiler): def get_always_args(self): return ['-pipe'] + def get_coverage_args(self): + return ['--coverage'] + + def get_coverage_link_args(self): + return ['--coverage'] + def gen_import_library_args(self, implibname): """ The name of the outputted import library -- cgit v1.1