build: do not allow unresolved symbols
authorPekka Paalanen <pekka.paalanen@collabora.com>
Tue, 9 Jul 2019 09:06:42 +0000 (12:06 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.com>
Thu, 24 Oct 2019 10:40:51 +0000 (13:40 +0300)
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>
meson.build

index 9fa787b9609a512a8d10b87de52e1606c4d942c6..75b221f6c6df8b95a9c1ebaa7379a489c9756a74 100644 (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',