From 2f9ca278913bc0f3cfe44e1dbee6b60b36b10a22 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 9 Jul 2019 12:06:42 +0300 Subject: [PATCH] build: do not allow unresolved symbols Now that all cases of unresolved symbols have been either fixed or worked around pending for a proper fix, we can switch the project to disallow unresolved symbols during build. This will help catch programming mistakes earlier. Note, that existing Meson build directories will not automatically apply this change. If you have an existing build directory, you must issue meson configure -Db_lundef=true in it. Signed-off-by: Pekka Paalanen --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9fa787b9..75b221f6 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('weston', default_options: [ 'warning_level=3', 'c_std=gnu99', - 'b_lundef=false', + 'b_lundef=true', ], meson_version: '>= 0.47', license: 'MIT/Expat',