Do the c99 dance for base-gcc.

Fixes the build on sparc64
This commit is contained in:
kmos 2022-10-22 19:38:10 +00:00
parent 104e48ad2c
commit 106b632705
1 changed files with 5 additions and 0 deletions

View File

@ -29,4 +29,9 @@ INSTALL_TARGET = install install-lib
post-install:
rm ${PREFIX}/man/man7/pcilib.7
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>