about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-06-10 16:16:47 +0100
committerDavid Carlier <devnexen@gmail.com>2020-06-10 16:16:47 +0100
commitb3feda052d36aacd657b394169b90f05afdbbbde (patch)
treed6ac2e893bf7fea279b58a65bb19dbf57c1edd6e /GNUmakefile
parent5cb6dc77955bb19316859c37684cb838418392cc (diff)
downloadafl++-b3feda052d36aacd657b394169b90f05afdbbbde.tar.gz
start of illumos cpu binding implementation.
The current user needs the proc_owner permission, not something doable
 via the settings script.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7556b617..0714a9d2 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -58,6 +58,11 @@ ifneq "$(shell uname)" "Darwin"
  CFLAGS_OPT += -D_FORTIFY_SOURCE=2
 endif
 
+ifeq "$(shell uname)" "SunOS"
+ CFLAGS_OPT += -Wno-format-truncation
+ LDFLAGS=-lkstat
+endif
+
 ifdef STATIC
   $(info Compiling static version of binaries)
   # Disable python for static compilation to simplify things