summaryrefslogtreecommitdiff
path: root/lib/libproc
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-07-21 22:10:28 +0000
committerMark Johnston <markj@FreeBSD.org>2018-07-21 22:10:28 +0000
commitd76b9890045dfa217a52c1cae469d4794ad30a1c (patch)
tree760519d7cbd4fbebe67fac5772812a38817cd446 /lib/libproc
parent79fab7d48afa3382a98eb8b8fe7fe3701edcb6e3 (diff)
downloadsrc-test-d76b9890045dfa217a52c1cae469d4794ad30a1c.tar.gz
src-test-d76b9890045dfa217a52c1cae469d4794ad30a1c.zip
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
Notes
Notes: svn path=/head/; revision=336591
Diffstat (limited to 'lib/libproc')
-rw-r--r--lib/libproc/tests/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libproc/tests/Makefile b/lib/libproc/tests/Makefile
index 0e78eea88baed..8c7563a33ca6f 100644
--- a/lib/libproc/tests/Makefile
+++ b/lib/libproc/tests/Makefile
@@ -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>