Skip to content

Commit

Permalink
Revert "portable-ruby: only apply C++ fix where now necessary"
Browse files Browse the repository at this point in the history
This reverts commit 939f3c9.
  • Loading branch information
ZhongRuoyu committed Oct 27, 2024
1 parent bbb6043 commit 0371eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/portable-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def install
# Change e.g. `CONFIG["AR"] = "gcc-ar-11"` to `CONFIG["AR"] = "ar"`
s.gsub!(/(CONFIG\[".+"\] = )"gcc-(.*)-\d+"/, '\\1"\\2"')
# C++ compiler might have been disabled because we break it with [email protected] builds
s.sub!(/(CONFIG\["CXX"\] = )"false"/, '\\1"c++"') if Hardware::CPU.intel?
s.sub!(/(CONFIG\["CXX"\] = )"false"/, '\\1"c++"')
end

# Ship libcrypt.a so that building native gems doesn't need system libcrypt installed.
Expand Down

0 comments on commit 0371eb5

Please sign in to comment.