git: 713017e23bab - main - devel/libdispatch: fix build on armv7 / powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:52 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=713017e23bab53e8379909a544e10358bf78c8f9
commit 713017e23bab53e8379909a544e10358bf78c8f9
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 11:05:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:18 +0000
devel/libdispatch: fix build on armv7 / powerpc
Same as i386.
---
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