aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/emmaken.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emmaken.py b/tools/emmaken.py
index 1b29f7a9..8ffbb963 100755
--- a/tools/emmaken.py
+++ b/tools/emmaken.py
@@ -134,7 +134,7 @@ try:
newargs = [ arg for arg in sys.argv[1:] if arg not in CC_ARG_SKIP ] + CC_ADDITIONAL_ARGS
if 'conftest.c' not in files:
newargs.append('-emit-llvm')
- if CC=='llvm-gcc':
+ if 'llvm-g' in CC:
newargs.append('-c')
print >> sys.stderr, "Running:", call, ' '.join(newargs)