From 76ad88d0cf23d284f18863a6881378ba573ffa98 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Tue, 12 Feb 2019 13:08:03 +0100 Subject: meson: use c_args instead of setting global compiler options --- tests/pytests/meson.build | 2 +- tests/unit/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/pytests/meson.build b/tests/pytests/meson.build index 2e228609..80b5a1b2 100644 --- a/tests/pytests/meson.build +++ b/tests/pytests/meson.build @@ -6,7 +6,6 @@ tlsproxy_src = [ ] # compile tlsproxy -# TODO fix or silence compilation warnings tlsproxy = executable( 'tlsproxy', tlsproxy_src, @@ -15,6 +14,7 @@ tlsproxy = executable( libuv, gnutls, ], + c_args: c_args, ) # python 3 dependencies diff --git a/tests/unit/meson.build b/tests/unit/meson.build index 43ca7675..d05e6b0e 100644 --- a/tests/unit/meson.build +++ b/tests/unit/meson.build @@ -27,6 +27,7 @@ foreach unit_test : unit_tests cmocka, lmdb, ], + c_args: c_args, ) test( 'unit.' + unit_test[0], -- cgit v1.2.3