Better description for type of build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1979 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -77,21 +77,21 @@ uqm_prepare_config()
|
||||
MENU_main_ITEM_install_path_TYPE=MENU
|
||||
|
||||
CHOICE_debug_OPTIONS="nodebug debug strictdebug"
|
||||
CHOICE_debug_TITLE="Include debugging information"
|
||||
CHOICE_debug_OPTION_nodebug_TITLE="No debugging information"
|
||||
CHOICE_debug_TITLE="Type of build"
|
||||
CHOICE_debug_OPTION_nodebug_TITLE="Optimised release build"
|
||||
CHOICE_debug_OPTION_nodebug_ACTION='nodebug_action'
|
||||
nodebug_action() {
|
||||
CFLAGS="$CFLAGS -O3"
|
||||
DEBUG=0
|
||||
}
|
||||
CHOICE_debug_OPTION_debug_TITLE="Debugging information"
|
||||
CHOICE_debug_OPTION_debug_TITLE="Debugging build"
|
||||
CHOICE_debug_OPTION_debug_ACTION='debug_action'
|
||||
debug_action() {
|
||||
CFLAGS="$CFLAGS -g -O0 -W -Wall -DDEBUG"
|
||||
LDFLAGS="$LDFLAGS -O0"
|
||||
DEBUG=1
|
||||
}
|
||||
CHOICE_debug_OPTION_strictdebug_TITLE="Debug info + strict compile checks"
|
||||
CHOICE_debug_OPTION_strictdebug_TITLE="Debug + strict compile checks"
|
||||
CHOICE_debug_OPTION_strictdebug_ACTION='strictdebug_action'
|
||||
strictdebug_action() {
|
||||
CFLAGS="$CFLAGS -O1" # This is needed for -Wunitialized
|
||||
|
||||
Reference in New Issue
Block a user