about summary refs log tree commit diff
path: root/gcc_plugin
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-09 19:05:05 +0200
committerGitHub <noreply@github.com>2020-07-09 19:05:05 +0200
commit88bd460100d305c694de55615aad2925d0689450 (patch)
tree6c636835dbe7d54a986e1eee7301a08aef3a6a16 /gcc_plugin
parent7c8d8233966c5f3009710efeb9c9efb50015ebbb (diff)
parent90adc2cb853482ae058a4b09719502ec6c3c22b8 (diff)
downloadafl++-88bd460100d305c694de55615aad2925d0689450.tar.gz
Merge pull request #449 from devnexen/illumos_typo
illumos littlefixes: little typo for cpu binding and
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