aboutsummaryrefslogtreecommitdiff
path: root/tools/build/Makefile
diff options
context:
space:
mode:
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