commit | 847d6f1dcbea664b5fd54f60bbc3cc2a1667d0a9 | [log] [tgz] |
---|---|---|
author | Denton Gentry <dgentry@google.com> | Thu Nov 24 14:50:57 2016 -0800 |
committer | Gregory Poist <poist@google.com> | Wed Jan 18 16:15:46 2017 -0800 |
tree | aa4c5876b17cc1a893e9aa7dca6998d3a6b3a22c | |
parent | 5c3d9ef756e0095206deea034051e721a192cd60 [diff] |
perf: enable -matomic for ARC From https://lkml.org/lkml/2015/10/17/74 Change-Id: Ic7d1c8dcc52c15a77372e89e15697aeb0b4a8411
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 5ad0255..768a610 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile
@@ -53,6 +53,11 @@ LIBUNWIND_LIBS = -lunwind -lunwind-aarch64 endif +# Additional ARCH settings for ARC +ifeq ($(ARCH),arc) + CFLAGS += -matomic +endif + ifeq ($(NO_PERF_REGS),0) $(call detected,CONFIG_PERF_REGS) endif