Skip to content
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

CGO_ENABLED=0 and drop -static flag #273

Merged
merged 2 commits into from
Jan 22, 2020
Merged

CGO_ENABLED=0 and drop -static flag #273

merged 2 commits into from
Jan 22, 2020

Conversation

Songmu
Copy link
Member

@Songmu Songmu commented Jan 22, 2020

ref. #272

The -static flag of goxz is unstable and when we build static, we need credits for libraries such as glibc. So I stop using -static flag, set CGO_ENALBED=0 and build a static binary only with Go libraries.

@Songmu Songmu changed the title CGO_ENABLED=1 and drop -static flag CGO_ENABLED=0 and drop -static flag Jan 22, 2020
@Songmu Songmu merged commit 9f37fea into master Jan 22, 2020
@Songmu Songmu deleted the cgo branch January 22, 2020 04:15
Songmu added a commit that referenced this pull request Jan 22, 2020
## [v1.0.3](v1.0.2...v1.0.3) (2020-01-22)

* CGO_ENABLED=0 and drop -static flag [#273](#273) ([Songmu](https://github.com/Songmu))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant