Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-02-20 01:21:45 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-20 01:21:45 +0300
commit29a5fbc6b7adad46f15925df136236849058e16a (patch)
treeadaa72090e7751a04fbaea8c693c509b150e3092 /source/blender/render/SConscript
parent21be45b66ebae2d5e7b01f6f8e837b40878529d9 (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/SConscript10
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 )