mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 12:23:58 +00:00
23d4d0fcc1
- For some reason we don't build it as a PIE, but I don't have any problems doing so with either clang or gcc. - There is no apparent need to override WARNS, so don't. - Some building with -O0, presumably that's left over from debugging. MFC after: 1 week Reviewed by: imp, brooks Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D43923
16 lines
280 B
Makefile
16 lines
280 B
Makefile
.include <src.opts.mk>
|
|
|
|
PROG_CXX= pmc
|
|
MAN=
|
|
CXXSTD= c++14
|
|
CWARNFLAGS.gcc+= -Wno-redundant-decls
|
|
CFLAGS+= -I${SRCTOP}/lib/libpmcstat
|
|
|
|
LIBADD= pmc m 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>
|