fixed clang build on OSX

metadata
Wenzel Jakob 2014-06-11 17:55:09 +02:00
parent bbc211b9cd
commit f395e4c201
1 changed files with 3 additions and 2 deletions

View File

@ -368,8 +368,9 @@ def configure_for_objective_cpp(env):
'-fp-model', 'fast=.*', '-wd.*', '-openmp'])
env['CCFLAGS'] += ['-fno-strict-aliasing']
# Enforce GCC usage (Intel compiler doesn't handle Objective C/C++)
env['CXX'] = 'g++'
env['CC'] = 'gcc'
if 'icpc' in env['CXX']:
env['CXX'] = 'g++'
env['CC'] = 'gcc'
def relax_compiler_settings(env):
# Relax the compiler settings when compiling heavy templated code