diff options
author | Namhyung Kim <[email protected]> | 2012-07-06 16:21:32 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-07-25 11:54:06 -0300 |
commit | 52b5c0d485385d3c767d979496983ca2b6987f5c (patch) | |
tree | 2c67d60162c7d6561783e3a3e78e3132ebbd26ee /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 043d1a5c14e95212dbf48251051804ede1ed1862 (diff) |
tools lib traceevent: Detect build environment changes
Cross compiling perf requires setting ARCH and CROSS_COMPILE variables,
but libtraceevent couldn't detect the changes so it ends up believing no
recompiling is required. Thus the linker failed like:
LINK perf
../lib/traceevent//libtraceevent.a: member ../lib/traceevent//libtraceevent.a(event-parse.o) in archive is not an object
collect2: ld returned 1 exit status
make: *** [perf] Error 1
This patch fixes this by adding TRACEEVENT-CFLAGS file like
PERF-CFLAGS to track those changes.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[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 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions