mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
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:
4
fs/fs.go
4
fs/fs.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user