1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/build-support/cc-wrapper
sternenseemann fde3861f21 wrapCC: check darwin-ness for -mcpu/-march based on targetPlatform
`stdenv.is*` defaults to `hostPlatform` which is technically incorrect
here, since what we are gating concerns the target platform only.

This would be a problem in practice if cross compiling from
x86_64-darwin to aarch64-darwin whilst using gcc which is probably
rare enough.
2024-04-15 12:49:29 +02:00
..
add-clang-cc-cflags-before.sh
add-flags.sh
add-gnat-extra-flags.sh
add-hardening.sh
cc-wrapper.sh
default.nix
fortran-hook.sh
gnat-wrapper.sh
go-wrapper.sh
setup-hook.sh