aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-24 02:03:39 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-24 02:03:39 +0000
commitf443dee6318e2ff3b869a3add0a6c5155b5a7e7c (patch)
tree329a17192c0fb17ccab87f73ce3c38676344afac
parent90a51e5ad5d0f17ec9257871075fc7bb9b4214bf (diff)
downloadports-f443dee6318e2ff3b869a3add0a6c5155b5a7e7c.tar.gz
ports-f443dee6318e2ff3b869a3add0a6c5155b5a7e7c.zip
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"
-rw-r--r--emulators/qemu41/Makefile1
1 files changed, 1 insertions, 0 deletions
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 \