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 45ab2a8 commit 4fbab01Copy full SHA for 4fbab01
configs/components/ruby-2.7.8.rb
@@ -237,7 +237,11 @@
237
elsif platform.is_macos? && platform.architecture == 'arm64' && platform.os_version.to_i >= 13
238
rbconfig_changes["CC"] = 'clang'
239
elsif platform.is_windows?
240
- rbconfig_changes["CC"] = "x86_64-w64-mingw32-gcc"
+ if platform.architecture == "x64"
241
+ rbconfig_changes["CC"] = "x86_64-w64-mingw32-gcc"
242
+ else
243
+ rbconfig_changes["CC"] = "i686-w64-mingw32-gcc"
244
+ end
245
end
246
247
pkg.add_source("file://resources/files/ruby_vendor_gems/operating_system.rb")
0 commit comments