]> gcc.gnu.org Git - gcc.git/commit
Darwin : Adjust handling of MACOSX_DEPLOYMENT_TARGET for macOS 11.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 23 Dec 2020 17:16:08 +0000 (17:16 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 1 Jan 2021 10:25:51 +0000 (10:25 +0000)
commit82abd13fb66e088bb1bc858f0209c201cde79580
tree90bf5f3103311a91eef42d093d102dcfa02b9623
parentf5ee16a0d8e31d1754e760e984623194de8e56d7
Darwin : Adjust handling of MACOSX_DEPLOYMENT_TARGET for macOS 11.

The shift to macOS version 11 also means that '11' without any
following '.x' is accepted as a valid version number.  This adjusts
the validation code to accept this and map it to 11.0.0 which
matches what the clang toolchain appears to do.

gcc/ChangeLog:

* config/darwin-driver.c (validate_macosx_version_min): Allow
MACOSX_DEPLOYMENT_TARGET=11.
(darwin_default_min_version): Adjust warning spelling to avoid
an apostrophe.
gcc/config/darwin-driver.c
This page took 0.057899 seconds and 5 git commands to generate.