[Widelands-cvs] widelands SConstruct,1.25,1.26
Status: Beta
Brought to you by:
sirver
From: Florian W. <be...@us...> - 2006-03-03 10:39:48
|
Update of /cvsroot/widelands/widelands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18004 Modified Files: SConstruct Log Message: - patch by Erik Sigra: speed up release builds Index: SConstruct =================================================================== RCS file: /cvsroot/widelands/widelands/SConstruct,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- SConstruct 24 Feb 2006 12:56:39 -0000 1.25 +++ SConstruct 3 Mar 2006 10:39:39 -0000 1.26 @@ -247,7 +247,8 @@ if env['build']=='release': OPTIMIZE=1 - env.Append(CCFLAGS=' -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations') + # !!!! -fomit-frame-pointer breaks execeptions !!!! + env.Append(CCFLAGS=' -finline-functions -ffast-math -funroll-loops -fexpensive-optimizations') env.Append(LINKFLAGS=' -s') if DEBUG: @@ -261,7 +262,7 @@ if OPTIMIZE: # heavy optimization - #ADD_CCFLAGS:=$(ADD_CCFLAGS) -fomit-frame-pointer -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations + #ADD_CCFLAGS:=$(ADD_CCFLAGS) -fomit-frame-pointer -finline-functions -ffast-math -funroll-loops -fexpensive-optimizations # !!!! -fomit-frame-pointer breaks execeptions !!!! env.Append(CCFLAGS=' -O3') else: |