configure, Darwin: Check ld64 support for -platform-version.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 12 Nov 2021 17:03:09 +0000 (17:03 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 15 Nov 2021 19:35:10 +0000 (19:35 +0000)
commitd3cc82dc9cc2d4f1021fc5d4c1463c3a14fc6795
tree5d785380de88b25dca64f64bb8e9e14305226194
parentbd5159bdd4f26ea6e01c1411149e8e2eaec62531
configure, Darwin: Check ld64 support for -platform-version.

Newer versions of ld64 allow specifiying the OS target (e.g.
macos or ios) the version and the SDK version all in a single
command.  This checks the availability of the command for the
current toolchain.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:

* config.in: Regenerate.
* configure: Regenerate.
* configure.ac: Test ld64 for -platform-version support.
gcc/config.in
gcc/configure
gcc/configure.ac