Skip to content
Snippets Groups Projects
Commit 6fc159bc authored by Jens Verwiebe's avatar Jens Verwiebe
Browse files

OSX/Scons/clang: more restrict the ftemplate fix to clang bundled with xcode 5 only

parent 4a2f6447
No related branches found
No related tags found
No related merge requests found
...@@ -295,8 +295,8 @@ if env['OURPLATFORM']=='darwin': ...@@ -295,8 +295,8 @@ if env['OURPLATFORM']=='darwin':
else: else:
print B.bc.OKGREEN + "Found recommended sdk :" + B.bc.ENDC + " using MacOSX10.5.sdk" print B.bc.OKGREEN + "Found recommended sdk :" + B.bc.ENDC + " using MacOSX10.5.sdk"
if env['CXX'].startswith('clang'): if env['CXX'].startswith('clang') and env['XCODE_CUR_VER'] >= '5':
env['CCFLAGS'].append('-ftemplate-depth=1024') # would break other gcc or llvm-gcc 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 # for now, Mac builders must download and install the 3DxWare 10 Beta 4 driver framework from 3Dconnexion
# necessary header file lives here when installed: # necessary header file lives here when installed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment