diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2020-08-25 13:30:24 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2020-08-25 13:30:24 +0000 |
commit | 6424881cc82a65a833fc6fb79730474caedf6222 (patch) | |
tree | 6110da79dcf1f1c89cd70d9d6b1db718d448a7b5 /sbin | |
parent | dce3fcd4ffb22c23d16200dccca69c1004aa99ae (diff) | |
download | src-6424881cc82a65a833fc6fb79730474caedf6222.tar.gz src-6424881cc82a65a833fc6fb79730474caedf6222.zip |
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
Notes
Notes:
svn path=/head/; revision=364765
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs_msdos/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/newfs_msdos/Makefile b/sbin/newfs_msdos/Makefile index 3a2c49fed0db..d12cf0245df2 100644 --- a/sbin/newfs_msdos/Makefile +++ b/sbin/newfs_msdos/Makefile @@ -9,5 +9,6 @@ SRCS= newfs_msdos.c mkfs_msdos.c .if ${MACHINE_CPUARCH} == "arm" WARNS?= 3 .endif +CSTD= c11 .include <bsd.prog.mk> |