Skip to content
Snippets Groups Projects
Commit 31871c76 authored by Jens Verwiebe's avatar Jens Verwiebe
Browse files

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 )
parent 9174f22b
Branches
Tags
No related merge requests found
...@@ -304,7 +304,7 @@ if env['OURPLATFORM']=='darwin': ...@@ -304,7 +304,7 @@ if env['OURPLATFORM']=='darwin':
ver = re.search(r'[0-9]+(\.[0-9]+)+', line) ver = re.search(r'[0-9]+(\.[0-9]+)+', line)
if ver: if ver:
env['CCVERSION'] = ver.group(0) 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: if frontend:
env['MACOSX_COMPILER'] = frontend.group(0) env['MACOSX_COMPILER'] = frontend.group(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment