summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-03-10 14:32:58 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-03-10 16:28:57 -0400
commit9e3224a0ab7257ad4705d6218f42fc1d71b327ec (patch)
tree57f435b189226aaf57ab054252dc1ac2b649c9fe
parent219007b655e7ce0b0dec03ab14ed5c7f2c8d2370 (diff)
downloadbfs-9e3224a0ab7257ad4705d6218f42fc1d71b327ec.tar.xz
build/flags: Add -lrt on FreeBSD for timer_create()
Notes
Fixes: 881d590 ("xtime: Add a wrapper for timer_create()/setitimer()")
-rw-r--r--build/flags.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/flags.mk b/build/flags.mk
index 462f74b..fbdf8cf 100644
--- a/build/flags.mk
+++ b/build/flags.mk
@@ -14,6 +14,7 @@ _LDLIBS :=
# Platform-specific system libraries
LDLIBS,DragonFly := -lposix1e
+LDLIBS,FreeBSD := -lrt
LDLIBS,Linux := -lrt
LDLIBS,NetBSD := -lutil
LDLIBS,QNX := -lregex -lsocket