Skip to content
  • Peter Zijlstra's avatar
    perf: Auto-detect libbfd · 2cdbc46d
    Peter Zijlstra authored
    
    
    Since the C++ demangling isn't needed for everybody and
    bfd/iberty aren't widely/easily available on all machines, make
    it optional.
    
    It also allows you to forcefully disable demangling by using
    NO_DEMANGLE=1 and otherwise tries to detect libbfd/libiberty
    combinations that result in a compiling demangler.
    
    Reported-by: default avatarJens Axboe <jens.axboe@oracle.com>
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Kyle McMartin <kyle@mcmartin.ca>
    LKML-Reference: <20090801082048.GX12579@kernel.dk>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    2cdbc46d