Build tweaks - fixes #484

* disable CGO for static builds everywhere
  * override Version in release build script
  * don't output symbol table in release binaries
This commit is contained in:
Nick Craig-Wood
2016-06-03 20:09:34 +01:00
parent 1fce83b936
commit 1d6698a754
5 changed files with 9 additions and 5 deletions

View File

@@ -14,8 +14,6 @@ import (
// Constants
const (
// UserAgent for Fs which can set it
UserAgent = "rclone/" + Version
// ModTimeNotSupported is a very large precision value to show
// mod time isn't supported on this Fs
ModTimeNotSupported = 100 * 365 * 24 * time.Hour
@@ -25,6 +23,8 @@ const (
// Globals
var (
// UserAgent for Fs which can set it
UserAgent = "rclone/" + Version
// Filesystem registry
fsRegistry []*RegInfo
// ErrorNotFoundInConfigFile is returned by NewFs if not found in config file