git: 0cf06a09a931 - main - emulators/qemu31: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Jul 24 02:03:52 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0cf06a09a9311411881eca000d4f5354297f569e
commit 0cf06a09a9311411881eca000d4f5354297f569e
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-24 02:03:42 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-24 02:03:42 +0000
emulators/qemu31: fix build on powerpc
/wrkdirs/usr/ports/emulators/qemu31/work/qemu-3.1.1.1/tcg/ppc/tcg-target.inc.c:1922:3: error: "Unhandled abi"
---
emulators/qemu31/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/emulators/qemu31/Makefile b/emulators/qemu31/Makefile
index e2d6f023cffa..503131d3b9a6 100644
--- a/emulators/qemu31/Makefile
+++ b/emulators/qemu31/Makefile
@@ -91,6 +91,7 @@ PORTDOCS?= docs qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \
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-libssh2 --enable-debug \
--prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \
More information about the dev-commits-ports-all
mailing list