summaryrefslogtreecommitdiff
path: root/tools/perf/config/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/Makefile.arch')
-rw-r--r--tools/perf/config/Makefile.arch4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile.arch b/tools/perf/config/Makefile.arch
index ff95a68741d1..ac8721ffa6c8 100644
--- a/tools/perf/config/Makefile.arch
+++ b/tools/perf/config/Makefile.arch
@@ -21,6 +21,10 @@ ifeq ($(RAW_ARCH),x86_64)
endif
endif
+ifeq ($(RAW_ARCH),sparc64)
+ ARCH ?= sparc
+endif
+
ARCH ?= $(RAW_ARCH)
LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)