fixed clang build on OSX
parent
bbc211b9cd
commit
f395e4c201
|
@ -368,8 +368,9 @@ def configure_for_objective_cpp(env):
|
||||||
'-fp-model', 'fast=.*', '-wd.*', '-openmp'])
|
'-fp-model', 'fast=.*', '-wd.*', '-openmp'])
|
||||||
env['CCFLAGS'] += ['-fno-strict-aliasing']
|
env['CCFLAGS'] += ['-fno-strict-aliasing']
|
||||||
# Enforce GCC usage (Intel compiler doesn't handle Objective C/C++)
|
# Enforce GCC usage (Intel compiler doesn't handle Objective C/C++)
|
||||||
env['CXX'] = 'g++'
|
if 'icpc' in env['CXX']:
|
||||||
env['CC'] = 'gcc'
|
env['CXX'] = 'g++'
|
||||||
|
env['CC'] = 'gcc'
|
||||||
|
|
||||||
def relax_compiler_settings(env):
|
def relax_compiler_settings(env):
|
||||||
# Relax the compiler settings when compiling heavy templated code
|
# Relax the compiler settings when compiling heavy templated code
|
||||||
|
|
Loading…
Reference in New Issue