aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-05-16 20:30:07 +0200
committerhexcoder- <heiko@hexco.de>2020-05-16 20:30:07 +0200
commitb927b80e1065d8e0a449c91635522f80189cae56 (patch)
treed88e31126143aafaf3d6648a06f862c704b809b6
parentaf6736c356603eb404b02ccced69286d3ed76ccd (diff)
downloadafl++-b927b80e1065d8e0a449c91635522f80189cae56.tar.gz
GNUmakefile: add paths for FreeBSD 3rd party packages
-rw-r--r--GNUmakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7d9e6d83..34539cec 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -89,6 +89,11 @@ override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations\
-I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \
-DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\"
+ifeq "$(shell uname -s)" "FreeBSD"
+ override CFLAGS += -I /usr/local/include/
+ LDFLAGS += -L /usr/local/lib/
+endif
+
ifeq "$(shell uname -s)" "OpenBSD"
override CFLAGS += -I /usr/local/include/
LDFLAGS += -L /usr/local/lib/