mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
libpmc: limit pmu-events to 64-bit powerpc
Although currently unused, there are only pmu event definitions for POWER8 and POWER9. There is no sense in building these on 32-bit platforms. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3864da302a
commit
507d68984a
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ LDADD+= -lc++
|
|||
EVENT_ARCH="arm64"
|
||||
.elif ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
|
||||
EVENT_ARCH="x86"
|
||||
.elif ${MACHINE_ARCH} == "powerpc"
|
||||
.elif ${MACHINE_CPUARCH} == "powerpc" && ${MACHINE_ARCH:Mpowerpc64*} != ""
|
||||
EVENT_ARCH="powerpc"
|
||||
.else
|
||||
# This will generate an empty events table
|
||||
|
|
|
|||
Loading…
Reference in a new issue