diff options
Diffstat (limited to 'source/gameengine/Rasterizer')
-rwxr-xr-x | source/gameengine/Rasterizer/SConscript | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript index 3af763ffbf2..2097540ed7e 100755 --- a/source/gameengine/Rasterizer/SConscript +++ b/source/gameengine/Rasterizer/SConscript @@ -5,8 +5,9 @@ sources = env.Glob('*.cpp') incs = '. #source/kernel/gen_system #intern/string #intern/moto/include' -cflags = [] if env['OURPLATFORM']=='win32-vc': - cflags.append('/Ox') - -env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags ) + cflags = [] + cflags.append('/Ox') + env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags ) +else: + env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115] ) |