Re: Weird conditional logic in lib/libpmc/Makefile

2018-06-02 Thread Mark Millard
Shawn Webb shawn.webb at hardenedbsd.org wrote on Sun Jun 3 01:08:19 UTC 2018 : > Below is some logic pasted from lib/libpmc/Makefile: > > .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" > > .if ${MACHINE_ARCH} == "aarch64" > EVENT_ARCH="arm64" > .elif ${MACHINE_ARCH} == "amd64" || $

Weird conditional logic in lib/libpmc/Makefile

2018-06-02 Thread Shawn Webb
Hey all, Below is some logic pasted from lib/libpmc/Makefile: .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" .if ${MACHINE_ARCH} == "aarch64" EVENT_ARCH="arm64" .elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" EVENT_ARCH="x86" .elif ${MACHINE_ARCH} == "powerpc" EVENT_AR