summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-07-01 15:04:00 +0200
committerDavid Sommerseth <davids@redhat.com>2009-07-01 15:04:00 +0200
commitebb06f31e490f181b2e2267b0268421fda9b5d95 (patch)
treec7b98227f1c686818e55525b292975831f87b9fe /src
parent9c651823c9d4bb918c7b7bb618a3a6275ee22619 (diff)
downloadpython-dmidecode-ebb06f31e490f181b2e2267b0268421fda9b5d95.tar.gz
python-dmidecode-ebb06f31e490f181b2e2267b0268421fda9b5d95.tar.xz
python-dmidecode-ebb06f31e490f181b2e2267b0268421fda9b5d95.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/setup.py b/src/setup.py
index 75be21b..96b6133 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -74,7 +74,8 @@ setup(
],
include_dirs = incdir,
library_dirs = libdir,
- libraries = libs
+ libraries = libs,
+ undef_macros = [ "NDEBUG" ]
)
],
py_modules = [ "dmidecode" ]