[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40725] trunk/blender/intern/ghost/ SConscript: Cgange compile cindition for gcc-4.6-objC++ workaround
jens verwiebe
info at jensverwiebe.de
Fri Sep 30 22:26:15 CEST 2011
Revision: 40725
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40725
Author: jensverwiebe
Date: 2011-09-30 20:26:14 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
Cgange compile cindition for gcc-4.6-objC++ workaround
Modified Paths:
--------------
trunk/blender/intern/ghost/SConscript
Modified: trunk/blender/intern/ghost/SConscript
===================================================================
--- trunk/blender/intern/ghost/SConscript 2011-09-30 17:07:13 UTC (rev 40724)
+++ trunk/blender/intern/ghost/SConscript 2011-09-30 20:26:14 UTC (rev 40725)
@@ -102,7 +102,7 @@
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"
More information about the Bf-blender-cvs
mailing list