diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-20 01:21:45 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-20 01:21:45 +0300 |
commit | 29a5fbc6b7adad46f15925df136236849058e16a (patch) | |
tree | adaa72090e7751a04fbaea8c693c509b150e3092 /source/blender/render/SConscript | |
parent | 21be45b66ebae2d5e7b01f6f8e837b40878529d9 (diff) |
==SCons==
* add -pthread compile switch for linux2 platforms to be on the safe side.
Diffstat (limited to 'source/blender/render/SConscript')
-rw-r--r-- | source/blender/render/SConscript | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript index 6a4b56a0aac..5fc0abb9e2a 100644 --- a/source/blender/render/SConscript +++ b/source/blender/render/SConscript @@ -1,6 +1,7 @@ #!/usr/bin/python Import ('env') +cflags='' sources = env.Glob('intern/source/*.c') incs = 'intern/include #/intern/guardedalloc ../blenlib ../makesdna' @@ -12,10 +13,13 @@ incs += ' ' + env['BF_SDL_INC'] defs = [] if env['WITH_BF_QUICKTIME'] == 1: - defs.append('WITH_QUICKTIME') - incs += ' ' + env['BF_QUICKTIME_INC'] + defs.append('WITH_QUICKTIME') + incs += ' ' + env['BF_QUICKTIME_INC'] if env['WITH_BF_FFMPEG'] == 1: defs.append('WITH_FFMPEG') -env.BlenderLib ( libname = 'blender_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=45 ) +if env['OURPLATFORM']=='linux2': + cflags='-pthread' + +env.BlenderLib ( libname = 'blender_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=45, compileflags=cflags ) |