[libglnx: 6/8] Make the Meson build work on older compilers



commit 738ee7ace3d2530da1b608e224def929fb6cb986
Author: Simon McVittie <smcv collabora com>
Date:   Thu May 2 15:52:13 2019 +0100

    Make the Meson build work on older compilers
    
    Signed-off-by: Simon McVittie <smcv collabora com>

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 73d2bc5..74ee36a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,8 @@
 project('libglnx', 'c')
 
 add_project_arguments('-D_GNU_SOURCE', language: 'c')
+add_project_arguments('-std=gnu99', language: 'c')
+add_project_arguments('-Wno-unused-local-typedefs', language: 'c')
 
 cc = meson.get_compiler('c')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]