aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-09 09:24:34 +0000
committerIain Sandoe <iain@sandoe.co.uk>2025-03-16 14:23:19 +0000
commit952e17223d3a9809a32be23f86f77166b5860b36 (patch)
treef1c16b1b194880171989710bd82cc082f531ef06 /gcc/rust/util
parent348d41e1d105bef6eeb423e915ab8508988149c1 (diff)
downloadgcc-952e17223d3a9809a32be23f86f77166b5860b36.zip
gcc-952e17223d3a9809a32be23f86f77166b5860b36.tar.gz
gcc-952e17223d3a9809a32be23f86f77166b5860b36.tar.bz2
Darwin: Pass -macos_version_min to the linker [PR119172].
For binaries to be notarised, the SDK version must be available. Since we do not, at present, parse this information we have been passing "0.0" to ld64. This now results in a warning and a fail to notarise. As a quick-fix, we can fall back to letting ld64 figure out the SDK version (which it does for -macos_version_min). TODO: Parse the SDKSetting.plist at some point. PR target/119172 gcc/ChangeLog: * config.in: Regenerate. * config/darwin.h (DARWIN_PLATFORM_ID): Add the option to use -macos_version_min where available. * configure: Regenerate. * configure.ac: Check for ld64 support of -macos_version_min. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> (cherry picked from commit 36f5ea5806d246d78555e65273a057718833e3cd)
Diffstat (limited to 'gcc/rust/util')
0 files changed, 0 insertions, 0 deletions