svn commit: r336591 - head/lib/libproc/tests
Mark Johnston
markj at FreeBSD.org
Sat Jul 21 22:10:29 UTC 2018
Author: markj
Date: Sat Jul 21 22:10:28 2018
New Revision: 336591
URL: https://svnweb.freebsd.org/changeset/base/336591
Log:
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
Modified:
head/lib/libproc/tests/Makefile
Modified: head/lib/libproc/tests/Makefile
==============================================================================
--- head/lib/libproc/tests/Makefile Sat Jul 21 21:34:10 2018 (r336590)
+++ head/lib/libproc/tests/Makefile Sat Jul 21 22:10:28 2018 (r336591)
@@ -12,5 +12,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>
More information about the svn-src-all
mailing list