nixpkgs/pkgs/development/tools/misc/binutils
Andrew Childs 6605fadc68 bintools-wrapper: default platform versions for darwin
Instead of always supplying flags, apply the flags as defaults. Use
clang's native flags instead of lifting the linker flags from binutils
with `-Wl,`.

If a project is using clang to drive linking, make clang do the right
thing with MACOSX_DEPLOYMENT_TARGET. This can be overridden by command
line arguments. This will cause modern clang to pass
`-platform_version 10.12 0.0.0`, since it doesn't know about the SDK
settings. Older versions of clang will pass down `-macos_version_min`
flags with no sdk version.

At the linker layer, apply a default value for anything left
ambiguous. If nothing is specified, pass a full
`-platform_version`. If only `-macos_version_min` is specified, then
lock down the sdk_version explicitly with `-sdk_version`. If a min
version and sdk version is passed, do nothing.
2021-04-11 09:47:09 +09:00
..
always-search-rpath.patch Revert commits on binutils for OpenRISC 1000 2020-12-28 08:43:31 +01:00
build-components-separately.patch Revert "Revert "Revert "Revert "libbfd: fix build"""" 2020-12-28 08:43:32 +01:00
CVE-2020-35448.patch binutils, libbfd: Patch CVE-2020-35448 2021-03-22 07:22:33 -07:00
default.nix bintools-wrapper: default platform versions for darwin 2021-04-11 09:47:09 +09:00
deterministic.patch Revert commits on binutils for OpenRISC 1000 2020-12-28 08:43:31 +01:00
disambiguate-arm-targets.patch Revert commits on binutils for OpenRISC 1000 2020-12-28 08:43:31 +01:00
R_ARM_COPY.patch binutils: patch to fix https://sourceware.org/bugzilla/show_bug.cgi?id=16177 2020-11-28 20:19:05 +08:00
support-ios.patch Add missing ios triples to bfd 2018-06-01 17:01:39 +01:00