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>2013-11-08 17:19:51 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-11-08 17:19:51 +0400
commit8a717f83260e0402970ed770a342efaf1cf9a27e (patch)
tree41eb776f3d3b8908f2a6bb53f61f9322ee068e03 /SConstruct
parent5ef717bec6c92e5a496f591285faf8db4d01f40b (diff)
OSX/scons: remove never used MAC_PROC and minor cleanups
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 2 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index f5165606700..92f7d947662 100644
--- a/SConstruct
+++ b/SConstruct
@@ -294,8 +294,6 @@ if env['OURPLATFORM']=='darwin':
import commands
- cmd = 'uname -p'
- MAC_PROC=commands.getoutput(cmd)
cmd = 'sw_vers -productVersion'
MAC_CUR_VER=cmd_res=commands.getoutput(cmd)
cmd = 'xcodebuild -version'
@@ -335,6 +333,7 @@ if env['OURPLATFORM']=='darwin':
if env['XCODE_CUR_VER'] >= '4.3': ## since version 4.3, XCode and developer dir are bundled ##
env['MACOSX_SDK'] = XCODE_BUNDLE + '/Contents/Developer/Platforms/MacOSX.platform' + env['MACOSX_SDK']
+
print B.bc.OKGREEN + "Using OSX SDK :" + B.bc.ENDC + env['MACOSX_SDK']
if not env['WITH_OSX_STATICPYTHON'] == 1:
@@ -379,7 +378,7 @@ if env['OURPLATFORM']=='darwin':
if env['MACOSX_ARCHITECTURE'] == 'x86_64':
env['REL_CCFLAGS'] = env['REL_CCFLAGS']+['-mssse3']
- if env['XCODE_CUR_VER'] >= '5' and not (env['CXX'][:-2].endswith('4.6') or env['CXX'][:-2].endswith('4.8')):
+ if env['XCODE_CUR_VER'] >= '5' and not env['CC'].split('/')[len(env['CC'].split('/'))-1][4:] >= '4.6.1':
env['CCFLAGS'].append('-ftemplate-depth=1024') # only valid for clang bundled with xcode 5
# for now, Mac builders must download and install the 3DxWare 10 Beta 4 driver framework from 3Dconnexion