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 f2de830 commit 1e0e2d1Copy full SHA for 1e0e2d1
_gem/lib/go_gem/rake_task.rb
@@ -140,7 +140,7 @@ def self.generate_cflags
140
# FIXME: Workaround for Alpine
141
cflags.gsub!("-Wpointer-arith", "") if RUBY_PLATFORM =~ /linux-musl/i
142
143
- cflags
+ cflags.strip
144
end
145
private_class_method :generate_cflags
146
_gem/lib/go_gem/util.rb
@@ -29,7 +29,7 @@ def self.generate_ldflags
29
# FIXME: Workaround for Ubuntu (GitHub Actions)
30
ldflags.gsub!("-Wl,--unresolved-symbols=ignore-all", "") if RUBY_PLATFORM =~ /linux/i
31
32
- ldflags
+ ldflags.strip
33
34
35
0 commit comments