Tweaking the build to turn on various debug options in GCC and enable -Wall -Werror on only our executable configs because turning them on globally causes most of the dependencies to fail. One thing to note is if you try to move the -D_GLIBCXX options from the project() to the executable() then you get segfaults inside the libc++ and other places. This is because the ABI changes when you enable these options, so you have to recompile _all_ dependencies with these options.

This commit is contained in:
Zed A. Shaw 2025-01-19 04:02:42 -05:00
parent 4c3049df14
commit ea3dd204a1
5 changed files with 22 additions and 19 deletions

View file

@ -4,4 +4,4 @@ mkdir subprojects
mv .\packagecache .\subprojects\
mkdir builddir
cp wraps\*.wrap subprojects\
meson setup --default-library=static --prefer-static builddir
meson setup --default-library=static --prefer-static builddir