We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780984c commit d6f69abCopy full SHA for d6f69ab
_gem/lib/go_gem/mkmf.rb
@@ -38,7 +38,7 @@ def $objs.empty?; false; end
38
$(DLLIB): Makefile $(srcdir)/*.go
39
cd $(srcdir); \
40
CGO_CFLAGS='$(INCFLAGS)' CGO_LDFLAGS='#{ldflags}' GOFLAGS='#{goflags}' \
41
- go build -p 4 -buildmode=c-shared -o #{current_dir}/$(DLLIB)
+ go build -gcflags="all=-N -l" -p 4 -buildmode=c-shared -o #{current_dir}/$(DLLIB)
42
MAKEFILE
43
end
44
0 commit comments