aboutsummaryrefslogtreecommitdiff
path: root/tools/emmaken.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-01-23 18:23:44 -0800
committerAlon Zakai <azakai@mozilla.com>2011-01-23 18:23:44 -0800
commitdf10a98f50d94962596fccdcaaca0cace922e3c6 (patch)
tree8c18116189e7fb7d272075041ffa80157daf1568 /tools/emmaken.py
parent82c8f1f7a5388fc322445ed899801d6ece8ced5a (diff)
minor fixes and optimizations
Diffstat (limited to 'tools/emmaken.py')
-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)