Merge pull request #7817 from gridaphobe/cc-wrapper-isgnu-isclang
Add isGNU and isClang attributes to cc-wrapper
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
, zlib ? null, extraPackages ? []
|
||||
, dyld ? null # TODO: should this be a setup-hook on dyld?
|
||||
, setupHook ? ./setup-hook.sh
|
||||
, isGNU ? false, isClang ? false
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -41,7 +42,7 @@ stdenv.mkDerivation {
|
||||
# The wrapper scripts use 'cat', so we may need coreutils.
|
||||
coreutils = if nativeTools then null else coreutils;
|
||||
|
||||
passthru = { inherit nativeTools nativeLibc nativePrefix; };
|
||||
passthru = { inherit nativeTools nativeLibc nativePrefix isGNU isClang; };
|
||||
|
||||
buildCommand =
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user