diff --git a/README.md b/README.md index 851ad0c8f..f9ee59116 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,11 @@ ninja -C build sudo ninja -C build install to build in debug mode: +meson setup debugbuild --prefix=/usr --buildtype=debug +ninja -C debugbuild +sudo ninja -C debugbuild install + +to build with address sanitizer: meson setup debugbuild --prefix=/usr --buildtype=debug -Db_sanitize=address,undefined ninja -C debugbuild sudo ninja -C debugbuild install @@ -107,8 +112,6 @@ sudo ninja -C debugbuild install To see if wayfire executable was built with address sanitizer run this in terminal: nm -an /usr/bin/wayfire | grep asan -When installing wf-config use meson build --prefix=/usr - ``` **Note**: `wf-config` and `wlroots` can be built as submodules, by specifying