-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XCADDY_GO_BUILD_FLAGS is not behaving well with windows builds #222
Comments
What do you mean "not working"? What happens? What's printed? |
@mohammed90 Oh, I totally forgot to add context :). description is updated. |
Found it. It's because the flags are appended to the end as argument instead of right after the sub-command of Lines 98 to 100 in eb894be
Lines 249 to 252 in eb894be
|
This command works:
XCADDY_GO_BUILD_FLAGS="-ldflags '-w -s -extldflags=-static'" xcaddy build
But this is not working:
GOOS='windows' GOARCH='amd64' XCADDY_GO_BUILD_FLAGS="-ldflags '-w -s'" xcaddy build
second command's output:
The text was updated successfully, but these errors were encountered: