Some defines for Symbian. From Gwl.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3049 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2008-08-23 11:13:02 +00:00
parent c198f73fa4
commit 03fe5f24f3
+20
View File
@@ -100,14 +100,34 @@ uqm_prepare_config()
CHOICE_debug_OPTION_nodebug_TITLE="Optimised release build"
CHOICE_debug_OPTION_nodebug_ACTION='nodebug_action'
nodebug_action() {
case "$HOST_SYSTEM" in
WINSCW)
CFLAGS="$CFLAGS -O2 -d NDEBUG"
;;
ARMV5)
CFLAGS="$CFLAGS -O3 -Otime -DNDEBUG"
;;
*)
CFLAGS="$CFLAGS -O3"
;;
esac
DEBUG=0
}
CHOICE_debug_OPTION_debug_TITLE="Debugging build"
CHOICE_debug_OPTION_debug_ACTION='debug_action'
debug_action() {
case "$HOST_SYSTEM" in
WINSCW)
CFLAGS="$CFLAGS -g -O0 -W all -d DEBUG -d _DEBUG"
;;
ARMV5)
CFLAGS="$CFLAGS -g -O0 -DDEBUG -D_DEBUG"
;;
*)
CFLAGS="$CFLAGS -g -O0 -W -Wall -DDEBUG"
LDFLAGS="$LDFLAGS -O0"
;;
esac
DEBUG=1
}
CHOICE_debug_OPTION_strictdebug_TITLE="Debug + strict compile checks"