libpmc: Always add the full include path for libpmcstat

Previously it was only added for aarch64, amd64 and i386
This commit is contained in:
Emmanuel Vadot 2020-03-25 02:28:47 +00:00
parent 77f0f1df8b
commit 483955de74

View File

@ -5,6 +5,8 @@ LIB= pmc
SRCS= libpmc.c pmclog.c libpmc_pmu_util.c libpmc_json.cc
INCS= pmc.h pmclog.h pmcformat.h
CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386"
@ -16,8 +18,6 @@ EVENT_ARCH="x86"
EVENT_ARCH="powerpc"
.endif
CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
.if ${MK_DIRDEPS_BUILD} == "yes"
# avoid circular dependency
GENDIRDEPS_FILTER+= N${RELDIR:H}/libpmcstat