Re: [PATCH 32/52] tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target

From: Namhyung Kim
Date: Thu Oct 10 2013 - 02:19:23 EST


On Tue, 8 Oct 2013 12:11:02 +0200, Ingo Molnar wrote:
> +test-all:
> + $(BUILD) -Werror -fstack-protector -Wvolatile-register-var -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 -lelf -laudit -I/usr/include/slang -lslang $(shell pkg-config --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='perf' -DPACKAGE=perf -lbfd -ldl

Also missed -Wstack-protector. And duplicate -Werror.

Anyway, it'd be great to generate this flags as well as source file
automatically.

Thanks,
Namhyung
--
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/