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 36a6a6b commit 41e81f6Copy full SHA for 41e81f6
Rakefile
@@ -22,6 +22,16 @@ def env_vars
22
23
cflags = "#{RbConfig::CONFIG["CFLAGS"]} -I#{RbConfig::CONFIG["rubyarchhdrdir"]} -I#{RbConfig::CONFIG["rubyhdrdir"]}"
24
25
+ # FIXME: Workaround for GitHub Actions
26
+ if ENV["GITHUB_ACTIONS"]
27
+ cflags.gsub!("-Wno-self-assign", "")
28
+ cflags.gsub!("-Wno-parentheses-equality", "")
29
+ cflags.gsub!("-Wno-constant-logical-operand", "")
30
+ cflags.gsub!("-Wsuggest-attribute=format", "")
31
+ cflags.gsub!("-Wold-style-definition", "")
32
+ ldflags.gsub!("-Wl,--unresolved-symbols=ignore-all", "")
33
+ end
34
+
35
{
36
"CGO_CFLAGS" => cflags,
37
"CGO_LDFLAGS" => ldflags,
0 commit comments