Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't mask out build env vars for cross-ruby #182

Merged
merged 1 commit into from Dec 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions tasks/bin/cross-ruby.rake
Expand Up @@ -46,7 +46,7 @@ RUBY_SOURCE = ENV['SOURCE']
RUBY_BUILD = RbConfig::CONFIG["host"]

# Unset any possible variable that might affect compilation
["CC", "CXX", "CPPFLAGS", "LDFLAGS", "RUBYOPT"].each do |var|
["RUBYOPT"].each do |var|
ENV.delete(var)
end

Expand Down Expand Up @@ -119,7 +119,6 @@ RUBY_CC_VERSIONS.split(":").each do |ruby_cc_version|
'--enable-shared',
'--disable-install-doc',
'--with-ext=',
'LDFLAGS=-pipe -s',
]

# Force Winsock2 for Ruby 1.8, 1.9 defaults to it
Expand Down