diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-12-23 17:16:08 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-12-23 19:31:27 +0000 |
commit | 96de87b99bf8fd1c46df373bbcc2f7d76db716ad (patch) | |
tree | 669957521f5cc05e5a340e2c44c24370dc1f6098 /gcc/cp/parser.c | |
parent | f3f237f7ee009d3cbcca83c77bc4d54bcae62308 (diff) | |
download | gcc-96de87b99bf8fd1c46df373bbcc2f7d76db716ad.zip gcc-96de87b99bf8fd1c46df373bbcc2f7d76db716ad.tar.gz gcc-96de87b99bf8fd1c46df373bbcc2f7d76db716ad.tar.bz2 |
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.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions