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:
meep-eep
2005-11-10 01:18:05 +00:00
parent 7c4366522c
commit 20c2271837
+4 -4
View File
@@ -77,21 +77,21 @@ uqm_prepare_config()
MENU_main_ITEM_install_path_TYPE=MENU MENU_main_ITEM_install_path_TYPE=MENU
CHOICE_debug_OPTIONS="nodebug debug strictdebug" CHOICE_debug_OPTIONS="nodebug debug strictdebug"
CHOICE_debug_TITLE="Include debugging information" CHOICE_debug_TITLE="Type of build"
CHOICE_debug_OPTION_nodebug_TITLE="No debugging information" CHOICE_debug_OPTION_nodebug_TITLE="Optimised release build"
CHOICE_debug_OPTION_nodebug_ACTION='nodebug_action' CHOICE_debug_OPTION_nodebug_ACTION='nodebug_action'
nodebug_action() { nodebug_action() {
CFLAGS="$CFLAGS -O3" CFLAGS="$CFLAGS -O3"
DEBUG=0 DEBUG=0
} }
CHOICE_debug_OPTION_debug_TITLE="Debugging information" CHOICE_debug_OPTION_debug_TITLE="Debugging build"
CHOICE_debug_OPTION_debug_ACTION='debug_action' CHOICE_debug_OPTION_debug_ACTION='debug_action'
debug_action() { debug_action() {
CFLAGS="$CFLAGS -g -O0 -W -Wall -DDEBUG" CFLAGS="$CFLAGS -g -O0 -W -Wall -DDEBUG"
LDFLAGS="$LDFLAGS -O0" LDFLAGS="$LDFLAGS -O0"
DEBUG=1 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' CHOICE_debug_OPTION_strictdebug_ACTION='strictdebug_action'
strictdebug_action() { strictdebug_action() {
CFLAGS="$CFLAGS -O1" # This is needed for -Wunitialized CFLAGS="$CFLAGS -O1" # This is needed for -Wunitialized