perf tools: Pick up libdw without explicit LIBDW_DIR
authorRamkumar Ramachandra <artagnon@gmail.com>
Wed, 26 Mar 2014 22:44:05 +0000 (18:44 -0400)
committerJiri Olsa <jolsa@redhat.com>
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 <artagnon@gmail.com>
Acked-by: Jean Pihet <jean.pihet@linaro.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1395873845-466-1-git-send-email-artagnon@gmail.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/config/Makefile