Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2021 21:12:46 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: 8ed0f6e4d4b4 - main - emulators/qemu42: fix build on powerpc
Message-ID:  <202109122112.18CLCkv8047599@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=8ed0f6e4d4b4eb288753ed7fa84c7e525a6263a4

commit 8ed0f6e4d4b4eb288753ed7fa84c7e525a6263a4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-09-12 21:06:10 +0000
Commit:     Piotr Kubaj <pkubaj@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 \



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