aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-02-19 01:41:33 +0000
committerEd Maste <emaste@FreeBSD.org>2021-02-19 01:45:36 +0000
commit4621c4f2fd179eff0923140da9af122c42dbe78b (patch)
treea092a1bd6fcf17e5362fa8740edd6b39c398becf
parent80ab50e1de19ca125f05a13937c796d48c4edd4a (diff)
downloadsrc-4621c4f2fd179eff0923140da9af122c42dbe78b.tar.gz
src-4621c4f2fd179eff0923140da9af122c42dbe78b.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
-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 d074bcc1f28d..4cacd86d009a 100644
--- a/tests/sys/audit/Makefile
+++ b/tests/sys/audit/Makefile
@@ -57,6 +57,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
OPENBSMDIR=${SRCTOP}/contrib/openbsm
CFLAGS+= -I${OPENBSMDIR}