libpmc: Always add the full include path for libpmcstat
Previously it was only added for aarch64, amd64 and i386
This commit is contained in:
parent
77f0f1df8b
commit
483955de74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user