diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2023-07-13 07:36:51 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2023-07-13 20:14:27 +0100 |
commit | 032b5da1fc781bd3c23d9caa72fb09439e7f6f3a (patch) | |
tree | ec6fe811e3a858c44e34e613d8af6f95ebca21b7 /gcc/fortran | |
parent | ef3bbc69d15707e4db6e2f198c621effb636cc26 (diff) | |
download | gcc-032b5da1fc781bd3c23d9caa72fb09439e7f6f3a.zip gcc-032b5da1fc781bd3c23d9caa72fb09439e7f6f3a.tar.gz gcc-032b5da1fc781bd3c23d9caa72fb09439e7f6f3a.tar.bz2 |
Darwin: Use -platform_version when available [PR110624].
Later versions of the static linker support a more flexible flag to
describe the OS, OS version and SDK used to build the code. This
replaces the functionality of '-mmacosx_version_min' (which is now
deprecated, leading to the diagnostic described in the PR).
We now use the platform_version flag when available which avoids the
diagnostic.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR target/110624
gcc/ChangeLog:
* config/darwin.h (DARWIN_PLATFORM_ID): New.
(LINK_COMMAND_A): Use DARWIN_PLATFORM_ID to pass OS, OS version
and SDK data to the static linker.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions