mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
gnatboot12: Use bintoolsDualAs on x86_64-darwin
As documented in pkgs/os-specific/darwin/binutils/default.nix, the Clang integrated assembler is needed in addition to the cctools-port assembler usually used on x86_64-darwin in order to build gnat12 with the x86_64-darwin gnatboot12 bootstrap compiler. This commit alters the gnatboot12 wrapper on x86_64-darwin so that both of those assemblers are available as required.
This commit is contained in:
parent
82b88d2db6
commit
f061f3ead5
@ -14495,7 +14495,11 @@ with pkgs;
|
||||
|
||||
gnatboot = gnatboot12;
|
||||
gnatboot11 = wrapCC (callPackage ../development/compilers/gnatboot { majorVersion = "11"; });
|
||||
gnatboot12 = wrapCC (callPackage ../development/compilers/gnatboot { majorVersion = "12"; });
|
||||
gnatboot12 = wrapCCWith ({
|
||||
cc = callPackage ../development/compilers/gnatboot { majorVersion = "12"; };
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isDarwin) {
|
||||
bintools = bintoolsDualAs;
|
||||
});
|
||||
|
||||
gnu-smalltalk = callPackage ../development/compilers/gnu-smalltalk { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user