Re: [PATCH] perf tools: support static build

From: Ingo Molnar
Date: Thu Oct 29 2009 - 04:07:07 EST



* Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:

> This makes it possible to build perf statically, by performing
> make LDFLAGS=-static
> Since static libraries are only searched in the order they are
> specified, move library list from LDFLAGS to EXTLIBS, so that
> they are put at the end of linker command line.

Nice!

> tools/perf/Makefile | 14 ++++++++------
> 1 files changed, 8 insertions(+), 6 deletions(-)

Would you mind to send a patch against the latest perf events tree,
which can be found at:

http://people.redhat.com/mingo/tip.git/README

This patch does not apply anymore due to recent changes to the Makefile:

patching file tools/perf/Makefile
Hunk #2 FAILED at 204.
Hunk #3 FAILED at 424.
2 out of 3 hunks FAILED -- rejects in file tools/perf/Makefile

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/