The conda GCC compilers aren't called gcc, they're called gnu-cc
Check for gnu-cc in the CC variable to catch this case
This commit is contained in:
parent
7054a7bb3d
commit
07409dea59
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ defaults.buildPch = False
|
|||
env['pch_flags'] = []
|
||||
env['openmp_flag'] = '-fopenmp' # used to generate sample build scripts
|
||||
|
||||
if 'gcc' in env.subst('$CC'):
|
||||
if 'gcc' in env.subst('$CC') or 'gnu-cc' in env.subst('$CC'):
|
||||
defaults.optimizeCcFlags += ' -Wno-inline'
|
||||
if env['OS'] == 'Cygwin':
|
||||
# See http://stackoverflow.com/questions/18784112
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue