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:
parent
dce3fcd4ff
commit
6424881cc8
@ -9,5 +9,6 @@ SRCS= newfs_msdos.c mkfs_msdos.c
|
|||||||
.if ${MACHINE_CPUARCH} == "arm"
|
.if ${MACHINE_CPUARCH} == "arm"
|
||||||
WARNS?= 3
|
WARNS?= 3
|
||||||
.endif
|
.endif
|
||||||
|
CSTD= c11
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -17,6 +17,7 @@ SRCS= cd9660.c \
|
|||||||
MAN= makefs.8
|
MAN= makefs.8
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
|
CSTD= c11
|
||||||
|
|
||||||
.include "${SRCDIR}/cd9660/Makefile.inc"
|
.include "${SRCDIR}/cd9660/Makefile.inc"
|
||||||
.include "${SRCDIR}/ffs/Makefile.inc"
|
.include "${SRCDIR}/ffs/Makefile.inc"
|
||||||
|
Loading…
Reference in New Issue
Block a user