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-09-10 16:55:36 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-09-10 16:55:36 +0400
commit6fc159bcff3ada9b58520876f8e5f35022c15323 (patch)
tree989272658f6d074c29bd38d79d21a830fcfdcf3a /SConstruct
parent4a2f6447efc969cba951f88a1a8c0f1e7e6d3f25 (diff)
OSX/Scons/clang: more restrict the ftemplate fix to clang bundled with xcode 5 only
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 550cc318a12..da0cf63a109 100644
--- a/SConstruct
+++ b/SConstruct
@@ -295,8 +295,8 @@ if env['OURPLATFORM']=='darwin':
else:
print B.bc.OKGREEN + "Found recommended sdk :" + B.bc.ENDC + " using MacOSX10.5.sdk"
- if env['CXX'].startswith('clang'):
- env['CCFLAGS'].append('-ftemplate-depth=1024') # would break other gcc or llvm-gcc
+ if env['CXX'].startswith('clang') and env['XCODE_CUR_VER'] >= '5':
+ 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
# necessary header file lives here when installed: