mirror of
https://github.com/NixOS/nix
synced 2025-07-06 05:01:48 +02:00
Merge pull request #10126 from lf-/jade/kill-ndebug
Ban building Nix with NDEBUG
This commit is contained in:
commit
75c5e1a5cc
2 changed files with 4 additions and 2 deletions
|
@ -9,6 +9,10 @@
|
|||
|
||||
#include <sodium.h>
|
||||
|
||||
#ifdef NDEBUG
|
||||
#error "Nix may not be built with assertions disabled (i.e. with -DNDEBUG)."
|
||||
#endif
|
||||
|
||||
namespace nix {
|
||||
|
||||
void initLibUtil() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue