diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-11 07:13:23 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-11 07:13:29 +0100 |
commit | 2b2dbcbbeb999767c63b85822689ab2fd5ef1865 (patch) | |
tree | 606a3e5d4de91c1c8513bef7a4e483e6268cc7a7 /meson.build | |
parent | Merge pull request #22701 from poettering/raise-memlock (diff) | |
download | systemd-2b2dbcbbeb999767c63b85822689ab2fd5ef1865.tar.xz systemd-2b2dbcbbeb999767c63b85822689ab2fd5ef1865.zip |
meson: move to c_std=gnu11
Recently, the kernel communitiy started to discuss to move C11 (gnu11) [1],
and it seems to come near future.
Let's also move to c_std=gnu11. Unlike the kernel, we already uses
gnu99, hence hopefully we can move to C11 without changing anything.
[1] https://lore.kernel.org/lkml/CAHk-=wiyCH7xeHcmiFJ-YgXUy2Jaj7pnkdKpcovt8fYbVFW3TA@mail.gmail.com/
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 6ce7b01c0b..107192b211 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('systemd', 'c', version : '250', license : 'LGPLv2+', default_options: [ - 'c_std=gnu99', + 'c_std=gnu11', 'prefix=/usr', 'sysconfdir=/etc', 'localstatedir=/var', |