summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-03-11 15:13:23 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-03-11 15:13:29 +0900
commit2b2dbcbbeb999767c63b85822689ab2fd5ef1865 (patch)
tree606a3e5d4de91c1c8513bef7a4e483e6268cc7a7 /meson.build
parent0d3c36641d071bc0370237245aecab1380a4f189 (diff)
downloadsystemd-2b2dbcbbeb999767c63b85822689ab2fd5ef1865.tar.gz
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.build2
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',