diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-09-30 13:48:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-09 08:48:30 +0200 |
commit | 90ac5422b617fcab0c6f02249502ffc17dfbf6e3 (patch) | |
tree | d1ac3142cc394145d666f4bddb1844dfd73da7af /tools/perf/config/Makefile | |
parent | 3ae069cfda88349fa61de9631f878d39ab60764f (diff) | |
download | lwn-90ac5422b617fcab0c6f02249502ffc17dfbf6e3.tar.gz lwn-90ac5422b617fcab0c6f02249502ffc17dfbf6e3.zip |
tools/perf/build: Split out feature check: 'stackprotector-all'
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-gupddm9clctVYws3lyexfdhg@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r-- | tools/perf/config/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index f39fc224b52e..1a6737144149 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -103,11 +103,12 @@ $(info done) FEATURE_TESTS = \ hello \ + stackprotector-all \ libnuma $(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test))) -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -fstack-protector-all,-fstack-protector-all),y) +ifeq ($(feature-stackprotector-all), 1) CFLAGS += -fstack-protector-all endif |