aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-02-19 01:41:33 +0000
committerEd Maste <emaste@FreeBSD.org>2021-03-05 17:46:11 +0000
commit812a476244c4c2458942f957cf1188f05459a5d8 (patch)
tree6b7df1dec3abd5b39136a8d085cbfdbe15f58ffa
parent765cc83260b1c6acca5404b650fe8c1e94a31c16 (diff)
downloadsrc-812a476244c4c2458942f957cf1188f05459a5d8.tar.gz
src-812a476244c4c2458942f957cf1188f05459a5d8.zip
tests/sys/audit: force PIE off
df093aa9463b linked against libprivateauditd.a, but that is currently (and incorrectly) built as position-dependent. For now just force PIE off for this test to fix the WITH_PIE build. Sponsored by: The FreeBSD Foundation (cherry picked from commit 4621c4f2fd179eff0923140da9af122c42dbe78b)
-rw-r--r--tests/sys/audit/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/audit/Makefile b/tests/sys/audit/Makefile
index c2267e52698f..215740020eb5 100644
--- a/tests/sys/audit/Makefile
+++ b/tests/sys/audit/Makefile
@@ -51,6 +51,7 @@ TEST_METADATA+= required_user="root"
TEST_METADATA+= is_exclusive="true"
TEST_METADATA+= required_files="/etc/rc.d/auditd /dev/auditpipe"
+MK_PIE:= no # XXX libprivateauditd.a is not PIE
LDFLAGS+= -lbsm -lutil
CFLAGS.process-control.c+= -I${SRCTOP}/tests