X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=tools%2Fperf%2Fconfig%2FMakefile.arch;h=ac8721ffa6c8c681ccdb563607d5b80917062438;hb=80737123e934547e32502c707c67c12cbfd9e8fb;hp=ff95a68741d1ccdb54e54d929f2292e88963a5d1;hpb=f4c2e9bcb0be4ee1c8722853e4faaaf6a9423d72;p=cascardo%2Flinux.git 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)