Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:52 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 713017e23bab - main - devel/libdispatch: fix build on armv7 / powerpc
Message-ID:  <202501122142.50CLgqKv096155@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122142.50CLgqKv096155>