]> git.imager.perl.org - imager.git/commitdiff
we almost always want symbols with our coverage, so enable them
authorTony Cook <tony@develop-help.com>
Thu, 22 Sep 2011 12:35:43 +0000 (22:35 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 8 Oct 2011 03:39:46 +0000 (14:39 +1100)
Makefile.PL

index 662d6737f663c917c591025ca41e71254d76195a..edd8a2beacc72bd5cc1be7141a59928cda8592a5 100644 (file)
@@ -181,7 +181,7 @@ my %opts=(
 
 if ($coverage) {
     if ($Config{gccversion}) {
-       push @ARGV, 'OPTIMIZE=-ftest-coverage -fprofile-arcs';
+       push @ARGV, 'OPTIMIZE=-ftest-coverage -fprofile-arcs -g';
        $opts{dynamic_lib} = { OTHERLDFLAGS => '-ftest-coverage -fprofile-arcs' };
     }
     else {