From 8ed0f6e4d4b4eb288753ed7fa84c7e525a6263a4 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 12 Sep 2021 21:06:10 +0000 Subject: [PATCH] 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 \