aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linprocfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/linprocfs/Makefile')
-rw-r--r--sys/modules/linprocfs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index 98f9fcb55c36..9b89c96aa56d 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -7,4 +7,8 @@ SRCS= vnode_if.h \
linprocfs.c \
opt_compat.h
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+=-DCOMPAT_LINUX32
+.endif
+
.include <bsd.kmod.mk>