mirror of
https://github.com/caddyserver/xcaddy.git
synced 2025-03-10 15:48:59 +01:00
core: always inject the nobadger
build tag (#173)
This commit is contained in:
parent
51aadd62b7
commit
d6f5a3e6c3
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ func (b Builder) newEnvironment(ctx context.Context) (*environment, error) {
|
||||||
tempFolder: tempFolder,
|
tempFolder: tempFolder,
|
||||||
timeoutGoGet: b.TimeoutGet,
|
timeoutGoGet: b.TimeoutGet,
|
||||||
skipCleanup: b.SkipCleanup,
|
skipCleanup: b.SkipCleanup,
|
||||||
buildFlags: b.BuildFlags,
|
buildFlags: strings.TrimSpace("-tags nobadger " + b.BuildFlags),
|
||||||
modFlags: b.ModFlags,
|
modFlags: b.ModFlags,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue