Skip to content

Commit 4b5147b

Browse files
committed
make release-slim make more sense: include arm64 linux, remove freebsd
1 parent 7960526 commit 4b5147b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/build.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ func (t Target) IncludeAgentInSlimBuildModes() bool {
153153
return !t.IsCrossTarget() ||
154154
(t.GOOS == "darwin") ||
155155
(t.GOOS == "windows" && t.GOARCH == "amd64") ||
156-
(t.GOOS == "linux" && (t.GOARCH == "amd64" || t.GOARCH == "arm64")) ||
157-
(t.GOOS == "freebsd" && t.GOARCH == "amd64")
156+
(t.GOOS == "linux" && (t.GOARCH == "amd64" || t.GOARCH == "arm64"))
158157
}
159158

160159
// BuildBundleInReleaseSlimMode indicates whether or not the target should have
@@ -163,7 +162,7 @@ func (t Target) BuildBundleInReleaseSlimMode() bool {
163162
return !t.IsCrossTarget() ||
164163
(t.GOOS == "darwin") ||
165164
(t.GOOS == "windows" && t.GOARCH == "amd64") ||
166-
(t.GOOS == "linux" && t.GOARCH == "amd64")
165+
(t.GOOS == "linux" && (t.GOARCH == "amd64" || t.GOARCH == "arm64"))
167166
}
168167

169168
// Build executes a module-aware build of the specified package URL, storing the

0 commit comments

Comments
 (0)