diff options
author | hexcoder- <heiko@hexco.de> | 2020-10-15 23:30:55 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-10-15 23:30:55 +0200 |
commit | fffe53136cae30316db1578b3d7f09fca3b5bc47 (patch) | |
tree | 164c459249735d1a259b4fe4578c19daeffb05b4 /GNUmakefile.gcc_plugin | |
parent | bded51e4eaaa4148516a407b68264e424d0fbbd5 (diff) | |
parent | 190a9cf1e4e6cd08f83acbb9d893688b5fb00f3d (diff) | |
download | afl++-fffe53136cae30316db1578b3d7f09fca3b5bc47.tar.gz |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'GNUmakefile.gcc_plugin')
-rw-r--r-- | GNUmakefile.gcc_plugin | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/GNUmakefile.gcc_plugin b/GNUmakefile.gcc_plugin index d139387a..bf3a3288 100644 --- a/GNUmakefile.gcc_plugin +++ b/GNUmakefile.gcc_plugin @@ -56,7 +56,8 @@ ifeq "$(findstring Foundation,$(shell $(CC) --version))" "" CXX = g++ endif -PLUGIN_FLAGS = -fPIC -fno-rtti -I"$(shell $(CC) -print-file-name=plugin)/include" +PLUGIN_BASE = "$(shell $(CC) -print-file-name=plugin)" +PLUGIN_FLAGS = -fPIC -fno-rtti -I$(PLUGIN_BASE)/include -I$(PLUGIN_BASE) HASH=\# GCCVER = $(shell $(CC) --version 2>/dev/null | awk 'NR == 1 {print $$NF}') @@ -88,6 +89,10 @@ ifeq "$(shell uname -s)" "OpenBSD" PLUGIN_FLAGS += -I/usr/local/include endif +ifeq "$(shell uname -s)" "DragonFly" + PLUGIN_FLAGS += -I/usr/local/include +endif + ifeq "$(shell uname -s)" "SunOS" PLUGIN_FLAGS += -I/usr/include/gmp endif |