[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH xserver 2/3] meson: Default to C99
From:       Adam Jackson <ajax () redhat ! com>
Date:       2017-09-27 17:09:57
Message-ID: 20170927170958.24803-2-ajax () redhat ! com
[Download RAW message or body]

We don't really require all of C99, but enough that it's not worth
bothering with the distinction, especially if your toolchain is new
enough that meson is a thing for you.

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 26fd9a8932..e5bd282154 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,8 @@
 project('xserver', 'c',
-        default_options: ['buildtype=debugoptimized'],
+        default_options: [
+            'buildtype=debugoptimized',
+            'c_std=c99',
+        ],
         version: '1.19.99.1',
         meson_version: '>= 0.40.0',
 )
-- 
2.13.5

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic