Skip to content

Commit

Permalink
fix build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fishi0x01 committed May 12, 2024
1 parent 42a6314 commit e438066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ compile-releases: clean ## Compile vsh binaries for multiple platforms and archi
for GOOS in $(SUPPORTED_PLATFORMS); do \
for GOARCH in $(SUPPORTED_ARCHS); do \
GOOS=$$GOOS GOARCH=$$GOARCH \
go build -mod vendor -ldflags "-X main.vshVersion=$(VERSION)" -o build/${APP_NAME}_$${GOOS}_$${GOARCH}; \
go build -mod vendor -trimpath -ldflags "-s -w -X main.vshVersion=$(VERSION)" -o build/${APP_NAME}_$${GOOS}_$${GOARCH}; \
go build -mod vendor -tags 'notokenhelper' -trimpath -ldflags "-s -w -X main.vshVersion=$(VERSION)" -o build/${APP_NAME}_notokenhelper_$${GOOS}_$${GOARCH}; \
done \
done
Expand Down

0 comments on commit e438066

Please sign in to comment.