From: <Mee...@us...> - 2008-08-23 11:13:04
|
Revision: 3049 http://sc2.svn.sourceforge.net/sc2/?rev=3049&view=rev Author: Meep-Eep Date: 2008-08-23 11:13:02 +0000 (Sat, 23 Aug 2008) Log Message: ----------- Some defines for Symbian. From Gwl. Modified Paths: -------------- trunk/sc2/build/unix/build.config Modified: trunk/sc2/build/unix/build.config =================================================================== --- trunk/sc2/build/unix/build.config 2008-08-23 11:05:43 UTC (rev 3048) +++ trunk/sc2/build/unix/build.config 2008-08-23 11:13:02 UTC (rev 3049) @@ -100,14 +100,34 @@ CHOICE_debug_OPTION_nodebug_TITLE="Optimised release build" CHOICE_debug_OPTION_nodebug_ACTION='nodebug_action' nodebug_action() { - CFLAGS="$CFLAGS -O3" + 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() { - CFLAGS="$CFLAGS -g -O0 -W -Wall -DDEBUG" - LDFLAGS="$LDFLAGS -O0" + 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" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |