Skip to content

Commit

Permalink
Build with -tags netgo.
Browse files Browse the repository at this point in the history
This avoids using CGO for net/http.

Change-Id: Ie4877199cde3faa035b427b3d3f3ac07ac08aa85
  • Loading branch information
hanwen committed Aug 1, 2017
1 parent 804356d commit 592351c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mkdir -p ${out}

for d in cmd/*
do
go build -ldflags "-X main.Version=$VERSION" -o ${out}/$(basename $d) github.com/google/zoekt/$d
go build -tags netgo -ldflags "-X main.Version=$VERSION" -o ${out}/$(basename $d) github.com/google/zoekt/$d
done

cat <<EOF > ${out}/deploy.sh
Expand Down

0 comments on commit 592351c

Please sign in to comment.