diff options
author | David Sommerseth <davids@redhat.com> | 2009-07-01 15:04:00 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-07-01 15:04:00 +0200 |
commit | ebb06f31e490f181b2e2267b0268421fda9b5d95 (patch) | |
tree | c7b98227f1c686818e55525b292975831f87b9fe /src | |
parent | 9c651823c9d4bb918c7b7bb618a3a6275ee22619 (diff) | |
download | python-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.py | 3 |
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" ] |