Do the usual C99 dance to fix build on sparc64

This commit is contained in:
kmos 2022-08-15 15:09:30 +00:00
parent 829bfeae43
commit 11014017ed

View File

@ -44,4 +44,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/extensions/tdomhtml/tdomhtml.tcl \
${DESTDIR}${MODTCL_MODDIR}/86/tdomhtml-0.1.0.tm
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>