Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2021 02:03:51 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: 9620451f37c1 - main - emulators/qemu-user-static: fix build on powerpc
Message-ID:  <202107240203.16O23pUw023607@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=9620451f37c1a853d8d8d8cb9485baa3ab52112d

commit 9620451f37c1a853d8d8d8cb9485baa3ab52112d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-07-24 02:03:44 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-07-24 02:03:44 +0000

    emulators/qemu-user-static: fix build on powerpc
    
    /wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-6ffee39fe2e4/tcg/ppc/tcg-target.inc.c:1922:3: error: "Unhandled abi"
---
 emulators/qemu-user-static/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emulators/qemu-user-static/Makefile b/emulators/qemu-user-static/Makefile
index b991e1a7d954..86a556cd69b9 100644
--- a/emulators/qemu-user-static/Makefile
+++ b/emulators/qemu-user-static/Makefile
@@ -49,6 +49,7 @@ WITHOUT_CPU_CFLAGS=yes	#to avoid problems with register allocation
 CFLAGS:=	${CFLAGS:C/-fno-tree-vrp//}
 CFLAGS+=	-Wno-address-of-packed-member
 CFLAGS+=	-D_WANT_SEMUN
+CFLAGS_powerpc=	-D_CALL_SYSV
 CONFIGURE_ARGS+=	--prefix=${PREFIX} --cc=${CC} --enable-docs \
 	--disable-linux-user --disable-linux-aio \
 	--disable-kvm --disable-xen \



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