This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlhack: Add -Dusedevel to gcov Configure line
authorÆvar Arnfjörð Bjarmason) (via RT <perlbug-followup@perl.org>
Sun, 25 Jul 2010 13:13:11 +0000 (06:13 -0700)
committerFlorian Ragwitz <rafl@debian.org>
Mon, 26 Jul 2010 10:39:54 +0000 (12:39 +0200)
# New Ticket Created by  (Ævar Arnfjörð Bjarmason)
# Please include the string:  [perl #76710]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76710 >

Building blead doesn't work without -Dusedevel most of the time.

pod/perlhack.pod

index 844b83b..34da25f 100644 (file)
@@ -3115,7 +3115,8 @@ and its section titled "8. gcov: a Test Coverage Program"
 
 quick hint:
 
-    $ sh Configure -des  -Doptimize='-g' -Accflags='-fprofile-arcs -ftest-coverage' \
+    $ sh Configure -des -Dusedevel -Doptimize='-g' \
+        -Accflags='-fprofile-arcs -ftest-coverage' \
         -Aldflags='-fprofile-arcs -ftest-coverage' && make perl.gcov
     $ rm -f regexec.c.gcov regexec.gcda
     $ ./perl.gcov