diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-10 16:31:21 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-10 16:31:21 +0400 |
commit | 97e823488ca758348acb96b4a787e2f129443f6f (patch) | |
tree | 0ec0d165064d2a256e8633c525a378a55db17fec /SConstruct | |
parent | 0f81ea0db9db469a815e1c80b22f83ed8fb6d965 (diff) |
OSX/Scons/clang: restrict the ftemplate fix to clang only
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 0a7fa2aec9e..550cc318a12 100644 --- a/SConstruct +++ b/SConstruct @@ -294,6 +294,9 @@ if env['OURPLATFORM']=='darwin': print B.bc.OKGREEN + "Auto-setting available MacOSX SDK -> " + B.bc.ENDC + "MacOSX10.6.sdk" 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 # for now, Mac builders must download and install the 3DxWare 10 Beta 4 driver framework from 3Dconnexion # necessary header file lives here when installed: |