about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2023-08-08 21:24:05 +0100
committerDavid CARLIER <devnexen@gmail.com>2023-08-08 21:24:05 +0100
commit2c376f899456f3c9ecd010832e5be87c59e8c947 (patch)
tree381fe92c0df7d4314b990231b94200bddfa539ff /GNUmakefile
parenta0aaae9b179ecabec59fbe528b24ec0651a1d9be (diff)
downloadafl++-2c376f899456f3c9ecd010832e5be87c59e8c947.tar.gz
afl-fuzz-redqueen.c fix build, also forgotten math lib for ilog* calls
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index f6b76a6c..88816e85 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -255,17 +255,17 @@ endif
 
 ifneq "$(findstring FreeBSD, $(SYS))" ""
   override CFLAGS  += -pthread
-  override LDFLAGS += -lpthread
+  override LDFLAGS += -lpthread -lm
 endif
 
 ifneq "$(findstring NetBSD, $(SYS))" ""
   override CFLAGS  += -pthread
-  override LDFLAGS += -lpthread
+  override LDFLAGS += -lpthread -lm
 endif
 
 ifneq "$(findstring OpenBSD, $(SYS))" ""
   override CFLAGS  += -pthread
-  override LDFLAGS += -lpthread
+  override LDFLAGS += -lpthread -lm
 endif
 
 COMM_HDR    = include/alloc-inl.h include/config.h include/debug.h include/types.h