aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2020-09-14 16:12:28 +0000
committerAndrew Turner <andrew@FreeBSD.org>2020-09-14 16:12:28 +0000
commit2a6803de1cdbc7e34dfe4dc185a2dd98b9a787fb (patch)
treef6626469ce3b843e7fcac56715d1f7347aa60bae /lib
parent5fb8eca8700bbf0047c8d9a4472eb71dca8f6d0c (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libpmc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile
index 0097d5454bcdb..15ea1e2d510cf 100644
--- a/lib/libpmc/Makefile
+++ b/lib/libpmc/Makefile
@@ -7,10 +7,10 @@ INCS= pmc.h pmclog.h pmcformat.h
CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
-.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386"
-.if ${MACHINE_ARCH} == "aarch64"
+.if ${MACHINE_CPUARCH} == "aarch64"
EVENT_ARCH="arm64"
.elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
EVENT_ARCH="x86"