tools/perf/build: Simplify the libelf logic
authorIngo Molnar <[email protected]>
Thu, 10 Oct 2013 06:53:17 +0000 (08:53 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 14 Oct 2013 13:29:11 +0000 (10:29 -0300)
commit5f36978ca5b12b1e35535dedb8c999694fc0dfcf
tree82400905d2ffd74fdc8e5047a53f323ca044f997
parent0dc097421974e076b47d19806966adf5ebc7fd6b
tools/perf/build: Simplify the libelf logic

Ulrich Drepper and Namhyung Kim reported that the libelf logic in
config/Makefile is duplicated in part.

Remove the duplication, and also remove the now unused FLAGS_LIBELF
variable.

Reported-by: Ulrich Drepper <[email protected]>
Reported-by: Namhyung Kim <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/config/Makefile