Skip to content

Commit

Permalink
Removes disabling CGO for dev builds.
Browse files Browse the repository at this point in the history
This works around golang/go#18981 until that
fix makes it into an official release.
  • Loading branch information
slackpad committed Jan 22, 2018
1 parent 7045cac commit d2e0641
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ dev:
@echo "==> Installing ${NAME} for ${GOOS}/${GOARCH}"
@rm -f "${GOPATH}/pkg/${GOOS}_${GOARCH}/${PROJECT}/version.a" # ldflags change and go doesn't detect
@env \
CGO_ENABLED="0" \
go install \
-ldflags "${LD_FLAGS}" \
-tags "${GOTAGS}"
Expand Down

0 comments on commit d2e0641

Please sign in to comment.