DragonFly BSD
DragonFly commits List (threaded) for 2012-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: bsd.lib.mk: Prevent "profiling impossible" warning

From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Sep 2012 09:36:13 -0700 (PDT)

commit 2ec8bbd1f0e7c4305e1d93e07156c26a7bf20989
Author: John Marino <draco@marino.st>
Date:   Sat Sep 29 18:25:58 2012 +0200

    bsd.lib.mk: 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 bsd.lib.mk 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/bsd.lib.mk |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]