git: f443dee6318e - main - emulators/qemu41: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Sat Jul 24 02:03:49 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f443dee6318e2ff3b869a3add0a6c5155b5a7e7c

commit f443dee6318e2ff3b869a3add0a6c5155b5a7e7c
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-24 02:03:39 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-24 02:03:39 +0000

    emulators/qemu41: fix build on powerpc
    
    /wrkdirs/usr/ports/emulators/qemu41/work/qemu-4.1.1/tcg/ppc/tcg-target.inc.c:1915:3: error: "Unhandled abi"
---
 emulators/qemu41/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emulators/qemu41/Makefile b/emulators/qemu41/Makefile
index 9a321cc7caab..611aab5445c5 100644
--- a/emulators/qemu41/Makefile
+++ b/emulators/qemu41/Makefile
@@ -105,6 +105,7 @@ PORTDOCS?=	docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-
 
 WITHOUT_CPU_CFLAGS=yes	#to avoid problems with register allocation
 CFLAGS:=	${CFLAGS:C/-fno-tree-vrp//}
+CFLAGS_powerpc=	-D_CALL_SYSV
 CONFIGURE_ARGS?=	--localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \
 		--extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh --enable-debug \
 		--prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \


More information about the dev-commits-ports-main mailing list