diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-08-07 19:57:02 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-08-07 19:57:02 +0400 |
commit | b7a696e2ad8cc7d5c2b91d8fa714f3637aee64e3 (patch) | |
tree | 4620ca2954ab689375d467d396add35e31cbe1a8 /source/blender/render/SConscript | |
parent | 51cad12120a673959abfbb1d4445edb782b5f13b (diff) |
Made -O3 and -msse2 default flags for bf_render_raytrace
Diffstat (limited to 'source/blender/render/SConscript')
-rw-r--r-- | source/blender/render/SConscript | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript index fb210afa545..2228ff9ebb9 100644 --- a/source/blender/render/SConscript +++ b/source/blender/render/SConscript @@ -1,7 +1,8 @@ #!/usr/bin/python Import ('env') -cflags='' +cflags = ['-O3'] +cxxflags = ['-O3','-msse2','-mfpmath=sse'] sources = env.Glob('intern/source/*.c') raysources = env.Glob('intern/raytrace/*.cpp') @@ -22,7 +23,7 @@ if env['WITH_BF_OPENEXR']: defs.append('WITH_OPENEXR') if env['OURPLATFORM']=='linux2': - cflags='-pthread' + cflags += ['-pthread'] env.BlenderLib ( libname = 'bf_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=145, compileflags=cflags ) -env.BlenderLib ( libname = 'bf_render_raytrace', sources = raysources, includes = Split(incs), defines=defs, libtype='core', priority=145, compileflags=cflags ) +env.BlenderLib ( libname = 'bf_render_raytrace', sources = raysources, includes = Split(incs), defines=defs, libtype='core', priority=145, compileflags=cflags, cxx_compileflags=cxxflags ) |