diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-12-14 10:52:15 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2021-01-07 09:30:50 +0000 |
commit | 4e64fb9f4901e99ce02f13d45f370e75d53075a6 (patch) | |
tree | cebb9f9fb81b897d8d4617247aa099ae708e75eb /tools/build/Makefile | |
parent | ed8455806e88deeb7151b9bb23ad5026a36d252d (diff) | |
download | src-4e64fb9f4901e99ce02f13d45f370e75d53075a6.tar.gz src-4e64fb9f4901e99ce02f13d45f370e75d53075a6.zip |
Fix warnings during bootstrap on Linux systems
Most warnings are currently off for the boostrap phase, but once D27598
lands they will be enabled again.
Diffstat (limited to 'tools/build/Makefile')
-rw-r--r-- | tools/build/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile index ee9d9692df3b..28257a2ea2e5 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -174,6 +174,8 @@ CFLAGS.closefrom.c+= -DSTDC_HEADERS -DHAVE_SYS_DIR_H -DHAVE_DIRENT_H \ -DHAVE_DIRFD -DHAVE_SYSCONF # Provide warnc/errc/getprogname/setprograme SRCS+= err.c progname.c +# Stub implementations of fflagstostr/strtofflags +SRCS+= fflags.c .endif # Provide the same arc4random implementation on Linux/macOS CFLAGS.arc4random.c+= -I${SRCTOP}/sys/crypto/chacha20 -D__isthreaded=1 |