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:
authorJens Verwiebe <info@jensverwiebe.de>2011-10-01 00:26:14 +0400
committerJens Verwiebe <info@jensverwiebe.de>2011-10-01 00:26:14 +0400
commitb05a3f7e42359e2a067d40f1edf10b6431390012 (patch)
tree006b7f53b197c9db010360a81deb3f9c63e85a03 /intern/ghost
parent7b9f3eac42316f32fce7732345162983f19419cb (diff)
Cgange compile cindition for gcc-4.6-objC++ workaround
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index ccf641eaee1..0c3109b1482 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -102,7 +102,7 @@ if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-v
if window_system in ('win32-vc', 'win64-vc'):
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15]) #, cc_compileflags=env['CCFLAGS'].append('/WX') )
-elif env['OURPLATFORM'] == 'darwin': # always use Apple-gcc-4.2 for objC language, for gnu-compilers do not support it fully yet
+elif env['WITH_GHOST_COCOA']: # always use Apple-gcc-4.2 for objC language, for gnu-compilers do not support it fully yet
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15], cc_compilerchange='/usr/bin/gcc-4.2', cxx_compilerchange='/usr/bin/gcc-4.2' )
print "GHOST COCOA WILL BE COMPILED WITH APPLE GCC"