Do the usual C99 dance to make base-gcc happy

Fixes build on sparc64
This commit is contained in:
kmos 2022-11-15 20:52:31 +00:00
parent b99df16084
commit a4a8795284
1 changed files with 5 additions and 0 deletions

View File

@ -17,4 +17,9 @@ CONFIGURE_STYLE = modbuild
MAKE_ENV = TEST_POD=Yes
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>