diff options
author | Michael Cree <mcree@orcon.net.nz> | 2009-11-11 20:43:03 +1300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-09 15:55:27 -0700 |
commit | 3d53e5c40f526e3b911a90b390cde4c602623194 (patch) | |
tree | 72e2d2d214dbadc29b5b12f50ad86671854eb50e /drivers/base/attribute_container.c | |
parent | ac4642d045978eadc2886c97bd2066972ec26dca (diff) |
perf tools: Test -fstack-protector-all compiler option for inclusion in CFLAGS
commit 5d7bdab75cd56d2bdc0986ae5546be3b09fea70a upstream.
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>
[bwh: Backport to 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/attribute_container.c')
0 files changed, 0 insertions, 0 deletions