nixpkgs/pkgs/os-specific
Matthew Bauer 95eabdfd5f xcode/sdk-pkgs.nix: set -platform_version in addition to -miphoneos-version-min
The App Store looks at LC_VERSION_MIN_IPHONEOS to verify you have a
new enough SDK version. This is not just the minimum version, but also
the sdk version used. When the linker can’t figure it out, it tries to
infer it from the sdk path[1]. When no sdk version is found, it
defaults to just using the -miphoneos-version-min value[2]. So, to make
sure we don’t rely on inference (which doesn’t work in the current
directory structure), we have to specify -platform_version.

[1]:
43f32a4c61/cctools/ld64/src/ld/Options.cpp (L5355-L5376)
[2]: 43f32a4c61/cctools/ld64/src/ld/ld.hpp (L58)
2020-07-23 10:44:51 -05:00
..
bsd *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
darwin xcode/sdk-pkgs.nix: set -platform_version in addition to -miphoneos-version-min 2020-07-23 10:44:51 -05:00
linux Merge pull request #90519 from victorluft/zenpower 2020-07-03 18:06:24 +02:00
windows treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00