perf tools: Test -fstack-protector-all compiler option for inclusion in CFLAGS
authorMichael Cree <mcree@orcon.net.nz>
Wed, 11 Nov 2009 07:43:03 +0000 (20:43 +1300)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Nov 2009 07:46:45 +0000 (08:46 +0100)
commit5d7bdab75cd56d2bdc0986ae5546be3b09fea70a
treea0fcfc07a4d7cad05421f56de30526d68a442675
parent9e827dd00a94136b944a538bede67c944d0b740a
perf tools: Test -fstack-protector-all compiler option for inclusion in CFLAGS

Some architectures (e.g. Alpha) do not support the
-fstack-protector-all compiler option and the use of the option
with -Werror causes the compiler to abort and the build fails.

Test that the compiler supports -fstack-protector-all before
inclusion in CFLAGS.

Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091111074302.GA3728@omega>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile