nixpkgs/pkgs
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
..
applications Merge staging-next into staging 2021-03-25 06:06:01 +00:00
build-support bintools-wrapper: default platform versions for darwin 2021-04-11 09:47:09 +09:00
common-updater
data Merge staging-next into staging 2021-03-24 06:05:57 +00:00
desktops Merge master into staging-next 2021-03-25 00:17:22 +00:00
development bintools-wrapper: default platform versions for darwin 2021-04-11 09:47:09 +09:00
games multimc: unstable -> 0.6.12 2021-03-23 17:24:27 +01:00
misc cen64: unstable-2020-02-20 -> unstable-2021-03-12 2021-03-24 07:10:24 -05:00
os-specific Merge master into staging-next 2021-03-25 00:17:22 +00:00
pkgs-lib
servers Merge staging-next into staging 2021-03-25 00:17:25 +00:00
shells mksh: fix license 2021-03-23 15:24:43 -03:00
stdenv darwin: move deployment target and sdk version to platform config 2021-03-26 15:10:22 +09:00
test
tools Merge pull request #117322 from r-ryantm/auto-update/govc 2021-03-25 19:53:42 -04:00
top-level Merge staging-next into staging 2021-03-25 00:17:25 +00:00