diff options
author | hexcoder- <heiko@hexco.de> | 2020-05-16 20:30:07 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-05-16 20:30:07 +0200 |
commit | b927b80e1065d8e0a449c91635522f80189cae56 (patch) | |
tree | d88e31126143aafaf3d6648a06f862c704b809b6 | |
parent | af6736c356603eb404b02ccced69286d3ed76ccd (diff) | |
download | afl++-b927b80e1065d8e0a449c91635522f80189cae56.tar.gz |
GNUmakefile: add paths for FreeBSD 3rd party packages
-rw-r--r-- | GNUmakefile | 5 |
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/ |