When compiling with base-gcc code paths get enabled that use many deprecated

functions. devel/libvirt-glib has "-Werror" on so the build bombs out right
away.

Switching to "base-clang ports-gcc" fixes the build for sparc64

ok ajacoutot@ (maintainer)
This commit is contained in:
kmos 2021-05-23 21:52:18 +00:00
parent 9c077d9480
commit fc6cfc0536

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2021/02/18 09:20:11 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.34 2021/05/23 21:52:18 kmos Exp $
COMMENT= libvirt wrapper suited for GObject-based applications
@ -21,6 +21,9 @@ MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE= Yes
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 intl virt xml2
MODULES= devel/meson