nixpkgs/pkgs/development
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
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
chez-modules
compilers Merge pull request #117433 from obsidiansystems/organize-llvm 2021-03-24 17:41:06 -04:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
gnuradio-modules
go-modules
go-packages
guile-modules
haskell-modules
idris-modules
interpreters Merge staging-next into staging 2021-03-24 12:12:00 +00:00
java-modules
libraries libassuan: 2.5.4 -> 2.5.5 2021-03-25 18:10:54 +01:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules ocamlPackages.ocaml_extlib: 1.7.7 -> 1.7.8 2021-03-23 08:36:25 +01:00
octave-modules
perl-modules
pharo
php-packages
pure-modules
python-modules Merge staging-next into staging 2021-03-25 00:17:25 +00:00
r-modules
ruby-modules
tools bintools-wrapper: default platform versions for darwin 2021-04-11 09:47:09 +09:00
web