The following meson project options can be set for this library when creating the build results directory with meson, or by using meson configure:
disable-builtinswill tell the compiler not to generate built-in functiondisable-stack-protectionwill tell the compiler not to insert stack protection callsdisable-rttiwill disable RTTI for C++ projectsdisable-exceptionswill disable exceptions for C++ projectsenable-threadingcan be used to control threaded targets and libc++ threading supportenable-pedantic: Turn onpedanticwarningsenable-pedantic-error: Turn onpedanticwarnings and errorshide-unimplemented-libc-apis: Hides the header definitions for functions which are not actually implementedenable-gnu-extensionswill enable GNU libc extensions that are implemented in this library
The following options can be used to configure the libc++ used with this project:
libcxx-use-compiler-rtlibcxx-use-llvm-libunwindlibcxx-thread-librarylibcxx-has-external-thread-apilibcxx-build-external-thread-apilibcxx-enable-chronolibcxx-enable-filesystemlibcxx-enable-stdinoutlibcxx-default-newdeletelibcxx-silent-terminatelibcxx-monotonic-clock
Options can be specified using -D and the option name:
meson buildresults -Ddisable-builtins=false
The same style works with meson configure:
cd buildresults
meson configure -Ddisable-builtins=false
Need to talk about debug vs release (DEBUG=1, --debug, --optimization=X)
reconfiguring an existng project with make reconfig
For more information, see our memory tuning guide