We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95816f8 commit 844bac5Copy full SHA for 844bac5
_gem/lib/go_gem/rake_task.rb
@@ -71,8 +71,8 @@ def self.build_env_vars
71
"-I#{RbConfig::CONFIG["rubyhdrdir"]}",
72
].join(" ")
73
74
- # FIXME: Workaround for GitHub Actions
75
- if ENV["GITHUB_ACTIONS"]
+ # FIXME: Workaround for Ubuntu (GitHub Actions)
+ if RUBY_PLATFORM =~ /linux/i
76
cflags.gsub!("-Wno-self-assign", "")
77
cflags.gsub!("-Wno-parentheses-equality", "")
78
cflags.gsub!("-Wno-constant-logical-operand", "")
0 commit comments