From 8f2cddddcf541d2b1e77436ea3645845b762ccc5 Mon Sep 17 00:00:00 2001 From: Bob Ham Date: Mon, 9 Dec 2019 15:37:22 +0000 Subject: [PATCH] Add -Wno-error=deprecated-declarations to build arguments This works around the deprecation warning for HdyDialer. --- src/meson.build | 3 ++- tests/meson.build | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/meson.build b/src/meson.build index 9ed4463..192af16 100644 --- a/src/meson.build +++ b/src/meson.build @@ -123,5 +123,6 @@ executable ( export_dynamic : true, include_directories : calls_includes, install : true, - link_with : calls_vala + link_with : calls_vala, + c_args : '-Wno-error=deprecated-declarations', ) diff --git a/tests/meson.build b/tests/meson.build index 14df0f8..84c02dc 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -11,7 +11,8 @@ test_env = [ test_cflags = [ '-fPIE', - '-DFOR_TESTING' + '-DFOR_TESTING', + '-Wno-error=deprecated-declarations' ] test_link_args = [