cc-wrapper, clang: `libstdcxxHook` should a propagated build input

Lumping it in with the target platform libraries was incorrect, and
caused eval failures when gcc couldn't be built for the target platform.
wip/yesman
John Ericson 4 years ago
parent 99c18b3441
commit bc054004ac
  1. 4
      pkgs/build-support/cc-wrapper/default.nix
  2. 4
      pkgs/development/compilers/llvm/5/default.nix
  3. 4
      pkgs/development/compilers/llvm/6/default.nix
  4. 4
      pkgs/development/compilers/llvm/7/default.nix
  5. 4
      pkgs/development/compilers/llvm/8/default.nix
  6. 4
      pkgs/development/compilers/llvm/9/default.nix

@ -10,7 +10,7 @@
, cc ? null, libc ? null, bintools, coreutils ? null, shell ? stdenvNoCC.shell
, nativeTools, noLibc ? false, nativeLibc, nativePrefix ? ""
, propagateDoc ? cc != null && cc ? man
, extraPackages ? [], extraBuildCommands ? ""
, extraTools ? [], extraPackages ? [], extraBuildCommands ? ""
, isGNU ? false, isClang ? cc.isClang or false, gnugrep ? null
, buildPackages ? {}
, libcxx ? null
@ -212,7 +212,7 @@ stdenv.mkDerivation {
'';
strictDeps = true;
propagatedBuildInputs = [ bintools ];
propagatedBuildInputs = [ bintools ] ++ extraTools;
depsTargetTargetPropagated = extraPackages;
wrapperName = "CC_WRAPPER";

@ -50,8 +50,10 @@ let
libstdcxxClang = wrapCCWith rec {
cc = tools.clang-unwrapped;
extraPackages = [
extraTools = [
libstdcxxHook
];
extraPackages = [
targetLlvmLibraries.compiler-rt
];
extraBuildCommands = mkExtraBuildCommands cc;

@ -50,8 +50,10 @@ let
libstdcxxClang = wrapCCWith rec {
cc = tools.clang-unwrapped;
extraPackages = [
extraTools = [
libstdcxxHook
];
extraPackages = [
targetLlvmLibraries.compiler-rt
];
extraBuildCommands = mkExtraBuildCommands cc;

@ -57,8 +57,10 @@ let
libstdcxxClang = wrapCCWith rec {
cc = tools.clang-unwrapped;
extraPackages = [
extraTools = [
libstdcxxHook
];
extraPackages = [
targetLlvmLibraries.compiler-rt
];
extraBuildCommands = mkExtraBuildCommands cc;

@ -57,8 +57,10 @@ let
libstdcxxClang = wrapCCWith rec {
cc = tools.clang-unwrapped;
extraPackages = [
extraTools = [
libstdcxxHook
];
extraPackages = [
targetLlvmLibraries.compiler-rt
];
extraBuildCommands = mkExtraBuildCommands cc;

@ -57,8 +57,10 @@ let
libstdcxxClang = wrapCCWith rec {
cc = tools.clang-unwrapped;
extraPackages = [
extraTools = [
libstdcxxHook
];
extraPackages = [
targetLlvmLibraries.compiler-rt
];
extraBuildCommands = mkExtraBuildCommands cc;

Loading…
Cancel
Save