mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
ea61be413c
For a cross-built native compiler, i.e. build!=(host==target), the bundled libgfortran needs a gfortran which can run on the buildPlatform and emit code for the targetPlatform. The compiler which is built alongside gfortran in this configuration doesn't meet that need: it runs on the hostPlatform. This commit passes the necessary compiler via `GFORTRAN_FOR_TARGET`, using `pkgsBuildTarget.gfortran`. |
||
---|---|---|
.. | ||
builder.nix | ||
checksum.nix | ||
configure-flags.nix | ||
dependencies.nix | ||
extra-target-flags.nix | ||
libgcc-buildstuff.nix | ||
libgcc.nix | ||
meta.nix | ||
platform-flags.nix | ||
pre-configure.nix | ||
strip-attributes.nix |