[PATCH] tools/perf/build: Improve the 'stackprotector' feature test

2013-10-10 Thread Ingo Molnar
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 >

[PATCH] tools/perf/build: Improve the 'stackprotector' feature test

2013-10-10 Thread Ingo Molnar
Namhyung Kim noticed that the stackprotector testcase was incomplete: The flag being checked should be -Wstack-protector instead of -fstack-protector. And the gcc manpage says that -Wstack-protector is only active when -fstack-protector is active. So the end result should look like