Do the usual c99 dance to fix build on sparc64

This commit is contained in:
kmos 2023-01-30 17:19:55 +00:00
parent e286e804b8
commit c891e82cda
1 changed files with 5 additions and 0 deletions

View File

@ -19,4 +19,9 @@ CONFIGURE_STYLE = autoreconf
AUTOMAKE_VERSION = 1.15
AUTOCONF_VERSION = 2.69
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>