base-gcc needs to be told to use c99 for build to work on sparc64

ok ajacoutot@ (maintainer)
This commit is contained in:
kmos 2021-05-16 17:12:24 +00:00
parent f0af5315b1
commit b0bca1611b

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.87 2021/05/14 08:28:54 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.88 2021/05/16 17:12:24 kmos Exp $
COMMENT= gettext(1) files editor for GNOME
@ -37,4 +37,9 @@ MODGNOME_TOOLS= desktop-file-utils gtk-update-icon-cache yelp
DEBUG_PACKAGES= ${BUILD_PACKAGES}
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>