diff options
author | Namhyung Kim <[email protected]> | 2012-10-26 17:55:52 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-10-26 11:22:24 -0200 |
commit | fcc328032e7382bf413517ee4dddf1eca7970fe4 (patch) | |
tree | 5e4d4c7be3d76ecf692ad0e0ed5cc2a1f37356db /lib/memory-notifier-error-inject.c | |
parent | cf3aa103555136c04894058152b129c133ebf350 (diff) |
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions