diff options
| author | Joe Richey <joerichey94@gmail.com> | 2017-08-29 10:23:54 -0700 |
|---|---|---|
| committer | Joe Richey <joerichey94@gmail.com> | 2017-08-29 10:23:54 -0700 |
| commit | ac3524f03f526017d671eae235af631a5f17cbc9 (patch) | |
| tree | 831d283a847d347a5c5aa78e9cbf2ce7450086b4 | |
| parent | b7f0e79d7a1dc4ff196d59e19a665a346082b542 (diff) | |
Added +build linux,cgo flags
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | cmd/fscrypt/fscrypt.go | 5 | ||||
| -rw-r--r-- | pam_fscrypt/pam_fscrypt.go | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -142,7 +142,7 @@ format-check: # Run lint rules (skipping generated files) .PHONY: lint lint: - @go vet $(GO_PKGS) + @go tool vet -buildtags=false . @golint $(GO_PKGS) | grep -v "pb.go" | ./input_fail.py @megacheck -unused.exported $(GO_PKGS) diff --git a/cmd/fscrypt/fscrypt.go b/cmd/fscrypt/fscrypt.go index fe1e0c9..93df341 100644 --- a/cmd/fscrypt/fscrypt.go +++ b/cmd/fscrypt/fscrypt.go @@ -19,8 +19,11 @@ */ /* -fscrypt is a comprehensive command line tool for managing filesystem encryption. +fscrypt is a command line tool for managing linux filesystem encryption. */ + +// +build linux,cgo + package main import ( diff --git a/pam_fscrypt/pam_fscrypt.go b/pam_fscrypt/pam_fscrypt.go index 21bc779..5beb311 100644 --- a/pam_fscrypt/pam_fscrypt.go +++ b/pam_fscrypt/pam_fscrypt.go @@ -17,6 +17,8 @@ * the License. */ +// +build linux,cgo + package main /* |