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 <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-07-09 12:06:42 +03:00
parent 9722ac62f0
commit 2f9ca27891

View File

@ -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',