about summary refs log tree commit diff
path: root/gcc_plugin
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-07-09 15:43:05 +0100
committerDavid Carlier <devnexen@gmail.com>2020-07-09 15:43:05 +0100
commit90adc2cb853482ae058a4b09719502ec6c3c22b8 (patch)
tree6c636835dbe7d54a986e1eee7301a08aef3a6a16 /gcc_plugin
parent7c8d8233966c5f3009710efeb9c9efb50015ebbb (diff)
downloadafl++-90adc2cb853482ae058a4b09719502ec6c3c22b8.tar.gz
illumos littlefixes: little typo for cpu binding and
even tough gcc plugin less good than LLVM, clang
is more buggy on this os.
Diffstat (limited to 'gcc_plugin')
-rw-r--r--gcc_plugin/GNUmakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc_plugin/GNUmakefile b/gcc_plugin/GNUmakefile
index bf5c53e0..002437cb 100644
--- a/gcc_plugin/GNUmakefile
+++ b/gcc_plugin/GNUmakefile
@@ -70,9 +70,14 @@ ifeq "$(TEST_MMAP)" "1"
 endif
 
 ifneq "$(shell uname -s)" "Haiku"
-	LDFLAGS += -lrt
+  LDFLAGS += -lrt
 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