aboutsummaryrefslogtreecommitdiff
path: root/tools/build/Makefile
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-12-14 10:52:15 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-01-07 09:30:50 +0000
commit4e64fb9f4901e99ce02f13d45f370e75d53075a6 (patch)
treecebb9f9fb81b897d8d4617247aa099ae708e75eb /tools/build/Makefile
parented8455806e88deeb7151b9bb23ad5026a36d252d (diff)
downloadsrc-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/Makefile2
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