git: 576628e2b415 - 2025Q1 - devel/libdispatch: fix build on armv7 / powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jan 2025 12:51:05 UTC
The branch 2025Q1 has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=576628e2b415b4a6841d54b1ae256bb13932b3de
commit 576628e2b415b4a6841d54b1ae256bb13932b3de
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 11:05:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-14 12:43:15 +0000
devel/libdispatch: fix build on armv7 / powerpc
Same as i386.
(cherry picked from commit 713017e23bab53e8379909a544e10358bf78c8f9)
---
devel/libdispatch/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devel/libdispatch/Makefile b/devel/libdispatch/Makefile
index aca18a54d83b..a082726bcf5b 100644
--- a/devel/libdispatch/Makefile
+++ b/devel/libdispatch/Makefile
@@ -28,7 +28,7 @@ GH_TAGNAME= swift-${DISTVERSION}-RELEASE
#LD?= ${_LLVM_MK_PREFIX}/bin/ld
#.endif
-.if ${OPSYS} == FreeBSD && ${ARCH} == i386
+.if ${OPSYS} == FreeBSD && (${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc)
CFLAGS+= -Wno-incompatible-function-pointer-types
.endif