From b3feda052d36aacd657b394169b90f05afdbbbde Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 10 Jun 2020 16:16:47 +0100 Subject: start of illumos cpu binding implementation. The current user needs the proc_owner permission, not something doable via the settings script. --- GNUmakefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'GNUmakefile') 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 -- cgit 1.4.1