freebsd-nq/lib/libproc/tests/Makefile
Mark Johnston d76b989004 Disable optimization of the libproc test program.
Dead code elimination may remove symbols that are required by the tests.

Reported by:	Jenkins, via asomers
MFC after:	1 week
2018-07-21 22:10:28 +00:00

18 lines
331 B
Makefile

# $FreeBSD$
ATF_TESTS_C+= proc_test
PROGS= target_prog
SRCS_target_prog= target_prog.c
BINDIR_target_prog= ${TESTSDIR}
WARNS?= 6
LIBADD= elf proc rtld_db util
# Ensure that symbols aren't stripped from the test program, as they're needed
# for testing symbol lookup.
STRIP=
CFLAGS.target_prog.c+= -O0
.include <bsd.test.mk>