git: 8ed0f6e4d4b4 - main - emulators/qemu42: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Sun Sep 12 21:12:46 UTC 2021


The branch main has been updated by pkubaj:

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

commit 8ed0f6e4d4b4eb288753ed7fa84c7e525a6263a4
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-12 21:06:10 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-12 21:06:10 +0000

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

diff --git a/emulators/qemu42/Makefile b/emulators/qemu42/Makefile
index 6456d85268d5..74f9e14bae48 100644
--- a/emulators/qemu42/Makefile
+++ b/emulators/qemu42/Makefile
@@ -116,6 +116,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 \
 		--prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \


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