summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index a9479bf..99d9108 100755
--- a/configure.py
+++ b/configure.py
@@ -77,7 +77,7 @@ n.variable('builddir', 'build')
cflags = ['-g', '-Wall', '-Wno-deprecated', '-fno-exceptions',
'-fvisibility=hidden', '-pipe']
if not options.debug:
- cflags.append('-O2')
+ cflags += ['-O2', '-DNDEBUG']
ldflags = ['-L$builddir']
libs = []
if platform == 'mingw':