[Bf-blender-cvs] [c9f7ebc] master: OSX/scons: adapt forgotten CCVERSION conditional, sorry

Jens Verwiebe noreply at git.blender.org
Mon Feb 10 15:56:51 CET 2014


Commit: c9f7ebce80d899978abf4bd3861812f596d1bd50
Author: Jens Verwiebe
Date:   Mon Feb 10 15:56:37 2014 +0100
https://developer.blender.org/rBc9f7ebce80d899978abf4bd3861812f596d1bd50

OSX/scons: adapt forgotten CCVERSION conditional, sorry

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

M	SConstruct

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

diff --git a/SConstruct b/SConstruct
index 7d103a8..0d6bf60 100644
--- a/SConstruct
+++ b/SConstruct
@@ -373,7 +373,7 @@ if env['OURPLATFORM']=='darwin':
     #Intel Macs are CoreDuo and Up
     if env['MACOSX_ARCHITECTURE'] == 'i386' or env['MACOSX_ARCHITECTURE'] == 'x86_64':
         env['REL_CCFLAGS'] = env['REL_CCFLAGS']+['-msse','-msse2','-msse3']
-        if env['C_COMPILER_ID'] != 'clang' or (env['C_COMPILER_ID'] == 'clang' and env['CCVERSION'] >= '5.0'):
+        if env['C_COMPILER_ID'] != 'clang' or (env['C_COMPILER_ID'] == 'clang' and env['CCVERSION'] >= '3.3'):
             env['REL_CCFLAGS'] = env['REL_CCFLAGS']+['-ftree-vectorize'] # clang xcode 4 does not accept flag
     else:
         env['CCFLAGS'] =  env['CCFLAGS']+['-fno-strict-aliasing']




More information about the Bf-blender-cvs mailing list