diff options
Diffstat (limited to 'gcc_plugin/GNUmakefile')
-rw-r--r-- | gcc_plugin/GNUmakefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc_plugin/GNUmakefile b/gcc_plugin/GNUmakefile index bf5c53e0..4a4f0dcd 100644 --- a/gcc_plugin/GNUmakefile +++ b/gcc_plugin/GNUmakefile @@ -70,9 +70,16 @@ ifeq "$(TEST_MMAP)" "1" endif ifneq "$(shell uname -s)" "Haiku" - LDFLAGS += -lrt + LDFLAGS += -lrt +else + CFLAGS_SAFE += -DUSEMMAP=1 +endif + +ifeq "$(shell uname -s)" "SunOS" + PLUGIN_FLAGS += -I/usr/include/gmp endif + PROGS = ../afl-gcc-fast ../afl-gcc-pass.so ../afl-gcc-rt.o |