Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2021 21:12:45 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: 0cb89366dc22 - main - emulators/qemu-devel: fix build on powerpc
Message-ID:  <202109122112.18CLCjRq047575@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=0cb89366dc22339e8cf0f6d940c6b84f3527cdd7

commit 0cb89366dc22339e8cf0f6d940c6b84f3527cdd7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-09-12 21:06:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-09-12 21:06:09 +0000

    emulators/qemu-devel: fix build on powerpc
    
    Same as with emulators/qemu50.
---
 emulators/qemu-devel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile
index 98b7beb1a380..b29703b530b6 100644
--- a/emulators/qemu-devel/Makefile
+++ b/emulators/qemu-devel/Makefile
@@ -129,7 +129,9 @@ MAKE_ARGS+=	ARCH=x86_64
 .endif
 
 .if ${ARCH} == "powerpc"
+CFLAGS+=	-D_CALL_SYSV
 MAKE_ARGS+=	ARCH=ppc
+USE_GCC=	yes
 .endif
 
 .if ${ARCH} == "powerpc64"



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