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 d3b139d commit 780984cCopy full SHA for 780984c
_gem/lib/go_gem/mkmf.rb
@@ -28,13 +28,7 @@ def $objs.empty?; false; end
28
29
create_makefile(target, srcprefix)
30
31
- case `#{RbConfig::CONFIG["CC"]} --version` # rubocop:disable Lint/LiteralAsCondition
32
- when /Free Software Foundation/
33
- ldflags = "-Wl,--unresolved-symbols=ignore-all"
34
- when /clang/
35
- ldflags = "-undefined dynamic_lookup"
36
- end
37
-
+ ldflags = GoGem::Util.generate_ldflags
38
current_dir = File.expand_path(".")
39
40
goflags = "-tags=#{GoGem::Util.ruby_minor_version_build_tag}"
0 commit comments