perf tools: Pick up libdw without explicit LIBDW_DIR
authorRamkumar Ramachandra <[email protected]>
Wed, 26 Mar 2014 22:44:05 +0000 (18:44 -0400)
committerJiri Olsa <[email protected]>
Mon, 14 Apr 2014 10:55:17 +0000 (12:55 +0200)
commit2c529e4e6aab405aa52e8627cbd691ed28b56a0b
treebd943e8cab3fd45b156185eb31cc3e6c691dfe08
parentf80c539323984257d62f7683b1262ce24c52ce26
perf tools: Pick up libdw without explicit LIBDW_DIR

The Makefile logic sets FEATURE_CHECKS_CFLAGS-libdw-dwarf-unwind and
FEATURE_CHECKS_LDFLAGS-libdw-dwarf-unwind only if LIBDW_DIR is
defined. This means that under a normal setup,

  $ make NO_LIBUNWIND=1

won't automatically pick up libdw. Fix this.

Signed-off-by: Ramkumar Ramachandra <[email protected]>
Acked-by: Jean Pihet <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected]>
tools/perf/config/Makefile