Fix sparc64 build with the usual c99 dance for base-gcc

This commit is contained in:
kmos 2022-11-16 18:17:37 +00:00
parent 4facf161b4
commit 527ec525f4
1 changed files with 5 additions and 0 deletions

View File

@ -48,4 +48,9 @@ DEBUG_PACKAGES= ${BUILD_PACKAGES}
post-install:
rm -r ${WRKINST}/var/lib
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>