aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-10-26 08:55:52 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-10-26 13:22:24 +0000
commitfcc328032e7382bf413517ee4dddf1eca7970fe4 (patch)
tree5e4d4c7be3d76ecf692ad0e0ed5cc2a1f37356db /tools/perf/builtin-inject.c
parentperf tools: Always show CHK message when doing try-cc (diff)
downloadkernel-fcc328032e7382bf413517ee4dddf1eca7970fe4.tar.gz
kernel-fcc328032e7382bf413517ee4dddf1eca7970fe4.zip
perf tools: Fix LIBELF_MMAP checking
Currently checking mmap support in libelf failed due to wrong flags. CHK libelf CHK libdw CHK libunwind CHK -DLIBELF_MMAP /tmp/ccYJwdR0.o: In function `main': :(.text+0x18): undefined reference to `elf_begin' collect2: error: ld returned 1 exit status This cannot happen since we checked the elf_begin() when checking libelf and it succeeded. Fix it by using a same flag with libelf checking. Signed-off-by: Namhyung Kim <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions