diff --git a/usr.sbin/pmc/Makefile b/usr.sbin/pmc/Makefile index 175b8d583b1..b67641de9f6 100644 --- a/usr.sbin/pmc/Makefile +++ b/usr.sbin/pmc/Makefile @@ -11,6 +11,9 @@ CXXSTD= c++14 CWARNFLAGS.gcc+= -Wno-redundant-decls CFLAGS+= -I${SRCTOP}/lib/libpmcstat +# Does not link when built position-independent. +MK_PIE=no + LIBADD= kvm pmc m ncursesw pmcstat elf SRCS= pmc.c pmc_util.c cmd_pmc_stat.c \