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 8de4981 commit 681010cCopy full SHA for 681010c
_gem/lib/go_gem/rake_task.rb
@@ -87,8 +87,8 @@ def self.build_env_vars
87
"-I#{RbConfig::CONFIG["rubyhdrdir"]}",
88
].join(" ")
89
90
- # FIXME: Workaround for GitHub Actions
91
- if ENV["GITHUB_ACTIONS"]
+ # FIXME: Workaround for Ubuntu (GitHub Actions)
+ if RUBY_PLATFORM =~ /linux/i
92
cflags.gsub!("-Wno-self-assign", "")
93
cflags.gsub!("-Wno-parentheses-equality", "")
94
cflags.gsub!("-Wno-constant-logical-operand", "")
0 commit comments