ruby: remove references to CC by default

This makes RbConfig["CC"] return an invalid path, but I hope nothing
is depending on that anyway...
This commit is contained in:
Alyssa Ross 2020-01-06 22:59:57 +00:00
parent ec8293fbfe
commit 163618988f
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
2 changed files with 1 additions and 3 deletions

View File

@ -49,7 +49,7 @@ let
# puts a reference to the C compiler in the binary.
# This might be required by some gems at runtime,
# but we allow to strip it out for smaller closure size.
, removeReferencesTo, removeReferenceToCC ? false
, removeReferencesTo, removeReferenceToCC ? true
, autoreconfHook, bison, autoconf
, buildEnv, bundler, bundix
, libiconv, libobjc, libunwind, Foundation

View File

@ -9409,8 +9409,6 @@ in
docSupport = false;
yamlSupport = false;
fiddleSupport = false;
# remove gcc from runtime closure
removeReferenceToCC = true;
};
ruby = ruby_2_6;