Cleaned up use of the DEBUG define:
- renamed the DEBUG define for debugging specific code. In the top of the relevant files there is an commented out define to activate debugging for that file. - removed entire DEBUG sections where it is no longer relevant - compile with DEBUG defined when building a debugging binary Code that produces general warnings is kept in DEBUG blocks. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1376 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -68,7 +68,7 @@ uqm_prepare_config()
|
||||
CHOICE_debug_OPTION_debug_TITLE="Debugging information"
|
||||
CHOICE_debug_OPTION_debug_ACTION='debug_action'
|
||||
debug_action() {
|
||||
CFLAGS="$CFLAGS -g -O0 -W -Wall"
|
||||
CFLAGS="$CFLAGS -g -O0 -W -Wall -DDEBUG"
|
||||
LDFLAGS="$LDFLAGS -O0"
|
||||
DEBUG=1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user