Change default cc from gcc to stdenv.cc.cc to reduce closure size on darwin

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
This commit is contained in:
Tobias Bergkvist 2021-12-09 22:57:13 +01:00 committed by GitHub
parent ceffea674d
commit 39b0aa415c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -617,7 +617,7 @@ in
makeSetupHook { deps = [ dieHook ]; } script;
in
lib.makeOverridable f {
cc = gcc;
cc = stdenv.cc.cc;
sanitizers = [ "undefined" "address" ];
};