From 127ab8c8244385e5929db5fed4aecaf966a612cd Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 12 Sep 2021 21:06:04 +0000 Subject: [PATCH] emulators/qemu50: fix build on powerpc Same fix as other qemu ports + clang goes into infinite loop, so use GCC. --- emulators/qemu50/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emulators/qemu50/Makefile b/emulators/qemu50/Makefile index ccbf2d780e863..b6ffc1bfc1f72 100644 --- a/emulators/qemu50/Makefile +++ b/emulators/qemu50/Makefile @@ -101,7 +101,8 @@ PORTDOCS= docs index.html interop/.buildinfo interop/* qemu-ga-ref.html qemu-ga- WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} -CFLAGS_amd64+= -fPIC +CFLAGS_amd64= -fPIC +CFLAGS_powerpc= -D_CALL_SYSV CONFIGURE_ARGS= --localstatedir=/var \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ @@ -122,6 +123,7 @@ MAKE_ARGS+= ARCH=x86_64 .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc +USE_GCC= yes .endif .if ${ARCH} == "powerpc64"