c++ profiling broken by ahu #239

Closed
Habbie opened this Issue Apr 26, 2013 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

http://wiki.powerdns.com/trac/changeset/1310/trunk/pdns/pdns/Makefile-recursor
introduced removal of c++ profiling files upon make clean, however the recursors README file still says:

   $ PROFILEFLAGS=-fprofile-generate make
Then do:
   $ PROFILEFLAGS=-fprofile-use make clean all

now however make clean removes all the gcno and gcda files making this a little bit futile for people who stick to the documentation. ;-)
I'd recommend something like

proclean:
    -rm -f dep *.o *~ pdns_recursor rec_control optional/*.o 
$ PROFILEFLAGS=-fprofile-use make proclean all

Zap

@Habbie Habbie was assigned Apr 26, 2013
@Habbie Habbie closed this Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Author: ahu
Fixed in cs 1462.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment