Skip to content

Commit

Permalink
Fix SmartOS build prometheus#1017 (prometheus#1018)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Fredell <[email protected]>
  • Loading branch information
dfredell authored and oblitorum committed Apr 9, 2024
1 parent a569ad1 commit 0ab0377
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 0ab0377

Please sign in to comment.