From: Ingo Molnar Date: Thu, 10 Oct 2013 07:06:21 +0000 (+0200) Subject: tools/perf/build: Improve the 'stackprotector' feature test X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=046fa7ae20d2390c65be8eb406efecff15e8b71d;p=pandora-kernel.git tools/perf/build: Improve the 'stackprotector' feature test Namhyung Kim noticed that the stackprotector testcase was incomplete: > The flag being checked should be -"W"stack-protector instead of > -"f"stack-protector. And the gcc manpage says that -Wstack-protector is > only active when -fstack-protector is active. So the end result should > look like > > $(BUILD) -Werror -fstack-protector -Wstack-protector Add -Wstack-protector. Reported-by: Namhyung Kim Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: David Ahern Cc: Jiri Olsa Signed-off-by: Ingo Molnar Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed