aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2023-07-09 17:49:43 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2023-07-09 17:49:43 +0000
commit45be5010ce04d254793ed97a1320249e347726b0 (patch)
tree055e7ebb1b9a79d759acc021ffb6129d046ca17d
parentd7be70f0ff9a2a3cf2a980e5c8214666d85a463b (diff)
downloadsrc-45be5010ce04d254793ed97a1320249e347726b0.tar.gz
src-45be5010ce04d254793ed97a1320249e347726b0.zip
-rw-r--r--lib/libsysdecode/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile
index 6fb32caebcb1..eb977c3564ac 100644
--- a/lib/libsysdecode/Makefile
+++ b/lib/libsysdecode/Makefile
@@ -112,7 +112,8 @@ MLINKS+=sysdecode_mask.3 sysdecode_accessmode.3 \
CLEANFILES= ioctl.c ioctl.c.tmp tables.h tables_linux.h
-.if defined(COMPAT_32BIT)
+# XXX: The flags should come from bsd.compat.mk / Makefile.libcompat
+.if ${COMPAT_LIBCOMPAT:U} == "32"
CPP+= -m32
.endif