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>
dev
Pekka Paalanen 5 years ago
parent 9722ac62f0
commit 2f9ca27891
  1. 2
      meson.build

@ -4,7 +4,7 @@ project('weston',
default_options: [ default_options: [
'warning_level=3', 'warning_level=3',
'c_std=gnu99', 'c_std=gnu99',
'b_lundef=false', 'b_lundef=true',
], ],
meson_version: '>= 0.47', meson_version: '>= 0.47',
license: 'MIT/Expat', license: 'MIT/Expat',

Loading…
Cancel
Save