[Bf-blender-cvs] [151d93d] master: OSX/scons; Adapt ftemplate-depth=1024 condition to new compiler versioning

Jens Verwiebe noreply at git.blender.org
Mon Feb 10 15:05:37 CET 2014


Commit: 151d93d2bf6098419590bd5697e7eda523b8db7f
Author: Jens Verwiebe
Date:   Mon Feb 10 15:05:19 2014 +0100
https://developer.blender.org/rB151d93d2bf6098419590bd5697e7eda523b8db7f

OSX/scons; Adapt ftemplate-depth=1024 condition to new compiler versioning

===================================================================

M	SConstruct

===================================================================

diff --git a/SConstruct b/SConstruct
index 085c626..7d103a8 100644
--- a/SConstruct
+++ b/SConstruct
@@ -382,7 +382,7 @@ if env['OURPLATFORM']=='darwin':
     if env['MACOSX_ARCHITECTURE'] == 'x86_64':
         env['REL_CCFLAGS'] = env['REL_CCFLAGS']+['-mssse3']
 
-    if env['C_COMPILER_ID'] == 'clang' and env['CCVERSION'] >= '5.0':
+    if env['C_COMPILER_ID'] == 'clang' and env['CCVERSION'] >= '3.3':
         env['CCFLAGS'].append('-ftemplate-depth=1024') # only valid for clang bundled with xcode 5
 
     # 3DconnexionClient.framework, optionally install




More information about the Bf-blender-cvs mailing list