mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
libpmc: use $MACHINE_CPUARCH
This is preferred over $MACHINE_ARCH for these types of checks, although it makes no difference for amd64 or i386. No functional change intended. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
689c7e7975
commit
3864da302a
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ LDADD+= -lc++
|
|||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
EVENT_ARCH="arm64"
|
||||
.elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
||||
.elif ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
|
||||
EVENT_ARCH="x86"
|
||||
.elif ${MACHINE_ARCH} == "powerpc"
|
||||
EVENT_ARCH="powerpc"
|
||||
|
|
|
|||
Loading…
Reference in a new issue