[Bf-committers] scons OSX game engine cvs built well, question

Michel Selten bf-committers@blender.org
Sun, 04 Apr 2004 22:47:36 +0200


On Sun, 2004-04-04 at 20:31, car wrote:
> Optimization on thescons build method is nonexsistant for darwin. I
> added 
> 
> extra_flags = ['-pipe', '-fPIC','-funsigned-char', '-ffast-math',
> '-mcpu=7450', '-mtune=7450'] 
> 
> , '-ffast-math', '-mcpu=7450','-mtune=7450' are the additions. 
> 
> and 
> 
> release_flags = ['-O3'] 
> 
> to the if sys.platform =='darwin'section and it speeded things up
> nicely. 

Please note that you need not touch the SConstruct file for this. When
you do this, you'll get cvs merges when doing a cvs update. This is
something you probably don't want.

SCons generates a nice config.opts file which contains many flags for
users to customize. The flags you describe in your mail, are all
available in the config.opts file. Now, when you do a cvs update, you
won't get any cvs merges/conflicts.

With regards,
	Michel