summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-09-30 13:58:12 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-09 08:48:32 +0200
commitc25104452de94102810e86323eabb7d9a4cad083 (patch)
tree2ec473fbc06a63c9ea88d601764a40b2c8b4e5c9 /tools/perf/config/feature-checks/Makefile
parent430be5ab0a50a9116c689b2b2ea7acd7a635aabe (diff)
downloadlinux-c25104452de94102810e86323eabb7d9a4cad083.tar.bz2
tools/perf/build: Split out feature check: 'volatile-register-var'
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-5dOevlybbwvbk3zTbcxrrqet@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/feature-checks/Makefile')
-rw-r--r--tools/perf/config/feature-checks/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/Makefile b/tools/perf/config/feature-checks/Makefile
index 46b7650983cb..5693299b4806 100644
--- a/tools/perf/config/feature-checks/Makefile
+++ b/tools/perf/config/feature-checks/Makefile
@@ -3,6 +3,7 @@ FILES= \
test-hello \
test-stackprotector-all \
test-stackprotector \
+ test-volatile-register-var \
test-libnuma
CC := $(CC) -MD
@@ -22,6 +23,9 @@ test-stackprotector-all:
test-stackprotector:
$(BUILD) -Werror -fstack-protector
+test-volatile-register-var:
+ $(BUILD) -Werror -Wvolatile-register-var
+
test-libnuma:
$(BUILD) -lnuma