Fix makefs bootstrap on macOS after D25563

The macOS assert.h header does not define static_assert when compiling in
C99 mode. To fix this compile with -std=c11.

Reviewed By:	emaste
Differential Revision: https://reviews.freebsd.org/D25928
This commit is contained in:
Alex Richardson 2020-08-25 13:30:24 +00:00
parent dce3fcd4ff
commit 6424881cc8
2 changed files with 2 additions and 0 deletions

View File

@ -9,5 +9,6 @@ SRCS= newfs_msdos.c mkfs_msdos.c
.if ${MACHINE_CPUARCH} == "arm"
WARNS?= 3
.endif
CSTD= c11
.include <bsd.prog.mk>

View File

@ -17,6 +17,7 @@ SRCS= cd9660.c \
MAN= makefs.8
WARNS?= 2
CSTD= c11
.include "${SRCDIR}/cd9660/Makefile.inc"
.include "${SRCDIR}/ffs/Makefile.inc"