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 clang: don't set -march for overridden target 2024-03-01 09:51:49 +01:00
add-flags.sh
add-gnat-extra-flags.sh
add-hardening.sh
cc-wrapper.sh
default.nix wrapCC: check darwin-ness for -mcpu/-march based on targetPlatform 2024-04-15 12:49:29 +02:00
fortran-hook.sh
gnat-wrapper.sh
go-wrapper.sh
setup-hook.sh