nixpkgs/pkgs/build-support/bintools-wrapper
Randy Eckenrode 826edbf719
{bintools,cc}-wrapper: fix static builds on Darwin
Without this change, all Darwin platforms mangle to the same suffix
salt. That is normally not an issue because build = host should mean a
non-cross build, but it causes issues on Darwin with static builds
because `DEVELOPER_DIR_FOR_BUILD` and `DEVELOPER_DIR` will refer to
different SDKs but mangle to the same `DEVELOPER_DIR` with suffix salt.

The fix is to mangle static builds differently from non-static ones on
Darwin, which allows building for a static Darwin target on a
same-architecture Darwin host. This fix is applied only to Dariwn
because the issue does not appear to affect other platforms.
2024-10-10 16:23:00 -04:00
..
add-darwin-ldflags-before.sh {bintools,cc}-wrapper: use a fallback SDK when DEVELOPER_DIR is not set 2024-10-10 16:22:59 -04:00
add-flags.sh
add-hardening.sh build-support: Use response-expanded params in pie test 2023-06-23 11:09:49 +01:00
darwin-install_name_tool-wrapper.sh
darwin-strip-wrapper.sh
default.nix {bintools,cc}-wrapper: fix static builds on Darwin 2024-10-10 16:23:00 -04:00
gnu-binutils-strip-wrapper.sh
ld-solaris-wrapper.sh
ld-wrapper.sh darwin.apple_sdk.frameworks: remove NIX_COREFOUNDATION_RPATH hook 2024-07-26 12:41:45 -04:00
macos-sierra-reexport-hack.bash
setup-hook.sh mkDerivation, bintools-wrapper: move defaultHardeningFlags determination to bintools-wrapper 2023-12-09 16:30:45 +00:00