Fix icc compiler on linux (#6488)

This commit is contained in:
Eduardo Bart 2017-12-15 14:01:23 -02:00 • committed by Andreas Rumpf
commit 7c3e00d469

View file

@ -138,12 +138,14 @@ compiler icl:
# Intel compilers try to imitate the native ones (gcc and msvc) # Intel compilers try to imitate the native ones (gcc and msvc)
when defined(windows): when defined(windows):
result = vcc() result = vcc()
else:
result = gcc()
result.name = "icl" result.name = "icl"
result.compilerExe = "icl" result.compilerExe = "icl"
result.linkerExe = "icl" result.linkerExe = "icl"
else:
result = gcc()
result.name = "icc"
result.compilerExe = "icc"
result.linkerExe = "icc"
# Local C Compiler # Local C Compiler
compiler lcc: compiler lcc: