[PATCH] perf tools: Fix build errors with O and DESTDIR make vars set

2013-06-11 Thread Robert Richter
From: Robert Richter Fixing build errors with O and DESTDIR make vars set: $ make prefix=/usr/local O=$builddir DESTDIR=$destdir -C tools/ perf ... make[1]: Entering directory `.../.source/perf/tools/perf' CC .../.build/perf/perf/util/parse-events.o util/parse-events.c:14:32: fatal

[PATCH] perf tools: Fix build errors with O and DESTDIR make vars set

2013-06-11 Thread Robert Richter
From: Robert Richter robert.rich...@linaro.org Fixing build errors with O and DESTDIR make vars set: $ make prefix=/usr/local O=$builddir DESTDIR=$destdir -C tools/ perf ... make[1]: Entering directory `.../.source/perf/tools/perf' CC .../.build/perf/perf/util/parse-events.o