Do the usual c99 dance for base-gcc to fix the build on sparc64

This commit is contained in:
kmos 2022-11-28 16:07:04 +00:00
parent 7b2523da2a
commit 9e314f293e
1 changed files with 5 additions and 0 deletions

View File

@ -41,4 +41,9 @@ do-test:
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./run_tests.py --offline
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>