Do the usual c99 dance to fix build on sparc64 (and other base-gcc arches)

This commit is contained in:
kmos 2022-03-25 15:55:43 +00:00
parent 4a555ceb93
commit 1d01e2257f
1 changed files with 5 additions and 0 deletions

View File

@ -58,4 +58,9 @@ pre-configure:
post-install:
chmod +x ${PREFIX}/bin/cairo-trace
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>