Skip to content

Commit ebb06f3

Browse files
author
David Sommerseth
committed
Undefine NDEBUG in normal compiles as well.
Arguments for doing so is that asserts are important to catch unhandled error situations and will help debugging if it fails in a production environment.
1 parent 9c65182 commit ebb06f3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
],
7575
include_dirs = incdir,
7676
library_dirs = libdir,
77-
libraries = libs
77+
libraries = libs,
78+
undef_macros = [ "NDEBUG" ]
7879
)
7980
],
8081
py_modules = [ "dmidecode" ]

0 commit comments

Comments
 (0)