Skip to content

Commit

Permalink
Fix SmartOS build #1017
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Fredell <[email protected]>
  • Loading branch information
dfredell committed Jul 23, 2018
1 parent 5c780d1 commit 28a5a4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions collector/loadavg_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import (
)

/*
// Define "__stack_chk_fail" and "__stack_chk_guard" symbols.
#cgo LDFLAGS: -fno-stack-protector -lssp
// Ensure "hrtime_t" is defined for sys/loadavg.h
#include <sys/time.h>
#include <sys/loadavg.h>
Expand Down

0 comments on commit 28a5a4d

Please sign in to comment.