aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMike Karels <karels@FreeBSD.org>2023-07-25 23:59:52 +0000
committerMike Karels <karels@FreeBSD.org>2023-07-25 23:59:52 +0000
commita1b67573130114257fdd443c4ec9b54fbe2e5843 (patch)
treea64da99d0270831d3de2af70b9d194552330b454 /lib/Makefile
parentd5d97bed4ab6bb63e97c8ff67b5b94ae37cd24fc (diff)
arm64 lib32: enable building of lib32 on arm64
Enable LIB32 option on aarch64, defaulting to YES; it had defaulted to "broken". Add required variables for how to compile lib32 on arm. Use /usr/include/arm for armv7 (32-bit) headers, analogous to /usr/include/i386 on amd64. Omit libomp from lib32; it is not supported on armv7. Reviewed by: jrtc27 Differential Revision: https://reviews.freebsd.org/D40945
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 47ff3cec7ebf..310935fdc26e 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -203,7 +203,7 @@ SUBDIR.${MK_PMC}+= libipt
SUBDIR.${MK_BHYVE}+= libvmmapi
.endif
-.if ${MACHINE_ARCH} != "powerpc"
+.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm"
SUBDIR.${MK_OPENMP}+= libomp
.endif
.if ${MK_USB} != "no"