meson: gcc docs say that name "c2x" is deprecated

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-03-17 12:19:52 +01:00
parent 62dfaa229e
commit 345ef6eb56

View file

@ -63,7 +63,7 @@ opts = [['c'],
['c', '-std=iso9899:2011']]
foreach opt : ['-std=iso9899:2017',
'-std=c2x',
'-std=c23',
]
if cc.has_argument(opt)
opts += [['c', opt]]