1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 10:26:35 +01:00

Add release and LLVM asan build options

The release build uses -O2 and flto, and has no debug symbols.
-Wmissing-field-initializer was removed due to false positives
on newer versions of clang
This commit is contained in:
jfreegman
2020-11-26 15:51:13 -05:00
parent 7b7ea0e386
commit 3f2826bd66
3 changed files with 21 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ Run `make doc` in the build directory after editing the asciidoc files to regene
* `DISABLE_QRPNG` → Disable support for exporting QR as PNG
* `DISABLE_DESKTOP_NOTIFY=1` → Disable desktop notifications support
* `ENABLE_PYTHON=1` → Build toxic with Python scripting support
* `ENABLE_RELEASE=1` → Build toxic without debug symbols and with full compiler optimizations
* `ENABLE_ASAN=1` → Build toxic with LLVM Address Sanitizer enabled
* `DESTDIR=""` Specifies the base install directory for binaries and data files (e.g.: DESTDIR="/tmp/build/pkg")