summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-03-11 18:33:57 +0000
committerjstebbins <[email protected]>2010-03-11 18:33:57 +0000
commitb3c45776b387ebdb4d61b9f24bb03c5c967c1629 (patch)
tree8b7c4229441bee6cbd97ebde46c9b05624f851d4 /make/configure.py
parent84ac0ce3477f03c3781f7b84f0ee6c738dd95224 (diff)
disable asserts in libdvdnav except when configured with --debug=max
dvdnav asserts on things are are almost never fatal. so lets not crash on them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3159 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/configure.py b/make/configure.py
index 628a97a21..27c38014e 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1302,6 +1302,10 @@ try:
doc.add( 'XCODE.external.prefix', cfg.xcode_x_prefix )
doc.addMake( '' )
+ doc.addMake( '## define debug mode before other includes' )
+ doc.addMake( '## since it is tested in some module.defs' )
+ doc.add( 'GCC.g', debugMode.mode )
+ doc.addBlank()
doc.addMake( '## include definitions' )
doc.addMake( 'include $(SRC/)make/include/main.defs' )
@@ -1324,7 +1328,6 @@ try:
doc.add( 'GCC.minver', '' )
doc.add( 'GCC.ldsysroot', '$(GCC.sysroot)' )
doc.add( 'GCC.ldminver', '$(GCC.minver)' )
- doc.add( 'GCC.g', debugMode.mode )
doc.add( 'GCC.O', optimizeMode.mode )
if options.enable_asm and not Tools.yasm.fail: