diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-12-07 21:05:27 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-12-07 21:05:27 +0400 |
commit | 31871c763f155af05a12b049a236a19a78d6b500 (patch) | |
tree | 4b0d19aae975e0abd9a3a5b73e9300a4dec61608 | |
parent | 9174f22b3c51b601e6c399bba2b32303f008630d (diff) |
OSX/scons: forgot Intel CC ( ‘icc’ ) in detection
Todo: perhaps unify this for all OS, but keep in mind:
Apple compiler versions may have other capabilities
than std gcc, llvm, clang ( other versioning also )
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 98bb61a3c07..2cb215cabec 100644 --- a/SConstruct +++ b/SConstruct @@ -304,7 +304,7 @@ if env['OURPLATFORM']=='darwin': ver = re.search(r'[0-9]+(\.[0-9]+)+', line) if ver: env['CCVERSION'] = ver.group(0) - frontend = re.search(r'gcc', line) or re.search(r'clang', line) or re.search(r'llvm-gcc', line) + frontend = re.search(r'gcc', line) or re.search(r'clang', line) or re.search(r'llvm-gcc', line) or re.search(r'icc', line) if frontend: env['MACOSX_COMPILER'] = frontend.group(0) |