summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>