git: Prevent "profiling impossible" warning

John Marino marino at
Sat Sep 29 09:36:13 PDT 2012

commit 2ec8bbd1f0e7c4305e1d93e07156c26a7bf20989
Author: John Marino <draco at>
Date:   Sat Sep 29 18:25:58 2012 +0200 Prevent "profiling impossible" warning
    The flag combination of "-pg" and "-ffunction-sections" do not mix.
    GCC will emit the warning: "-ffunction-sections disabled; it makes
    profiling impossible"
    This simple modification to will filter out
    -ffunction-sections flag whenever it tries to build profile
    objects.  The seemingly hundreds of warning in the world build
    log are now gone.

Summary of changes:
 share/mk/ |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list