Do the usual C99 dance to fix build on sparc64 with base-gcc

This commit is contained in:
kmos 2022-08-15 15:01:22 +00:00
parent b724f51c77
commit 829bfeae43
1 changed files with 5 additions and 0 deletions

View File

@ -21,4 +21,9 @@ post-install:
rm ${PREFIX}/{LICENSE.txt,README.txt}
mv ${PREFIX}/bin/{mmd,mmd2xhtml} # avoid conflict with mtools
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>