k3s/vendor/github.com/lxc/lxd/shared/cgo.go

13 lines
463 B
Go
Raw Normal View History

2019-11-08 21:45:10 +00:00
// +build linux,cgo
package shared
// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self
// #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables
// #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused
// #cgo CFLAGS: -Werror=implicit-function-declaration
// #cgo CFLAGS: -Werror=return-type -Wendif-labels -Werror=overflow
// #cgo CFLAGS: -Wnested-externs -fexceptions
// #cgo LDFLAGS: -lutil -lpthread
import "C"