]> git.baikalelectronics.ru Git - kernel.git/commit
tools/perf/build: Pass through LDFLAGS to feature tests
authorIngo Molnar <mingo@kernel.org>
Mon, 7 Oct 2013 15:51:29 +0000 (17:51 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 06:49:03 +0000 (08:49 +0200)
commit3622c3e155fe929e96c279d9cccb5263665a6953
tree436ffe73555c2495ca319cc2d5687be768790b9e
parent583132844eeb6829df3a457d593887d267bce95e
tools/perf/build: Pass through LDFLAGS to feature tests

David Ahern reported that when passing in LDFLAGS=-static then
the feature checks still succeed - causing build failures down
the line because the static libraries are missing.

Solve this by passing through LDFLAGS to the feature-check
Makefile.

Reported-by: David Ahern <dsahern@gmail.com>
Tested-by: David Ahern <dsahern@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20131007155129.GA1066@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/config/Makefile
tools/perf/config/feature-checks/Makefile