68ad8264a2
Fix the build of lib/libpmc and usr.sbin/pmc for gcc on amd64. Reviewed by: mmacy Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D15723
18 lines
285 B
Makefile
18 lines
285 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.include <src.opts.mk>
|
|
PROG_CXX= pmc
|
|
MAN=
|
|
CXXFLAGS+= -O0 -std=c++14
|
|
CWARNFLAGS.gcc+= -Wno-redundant-decls
|
|
|
|
LIBADD= kvm pmc m ncursesw pmcstat elf
|
|
|
|
SRCS= pmc.c pmc_util.c cmd_pmc_stat.c \
|
|
cmd_pmc_list.c cmd_pmc_filter.cc \
|
|
cmd_pmc_summary.cc
|
|
|
|
.include <bsd.prog.mk>
|