aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeff Terrace <jterrace@gmail.com>2011-10-13 14:32:05 -0400
committerJeff Terrace <jterrace@gmail.com>2011-10-13 14:32:05 -0400
commit02c582ce57c7466ddbf327645b1d9d8ab93cfb21 (patch)
tree8282f1be0f142891aa497b55e222f48c95c773e8 /tools
parent8db994d1596ff691c2d603ebc6206bdfc73b2a4d (diff)
parent02163f9957c1e0ee02b1c7d0936a084ffb592cff (diff)
Merge branch 'master' of https://github.com/kripken/emscripten
Diffstat (limited to 'tools')
-rwxr-xr-xtools/emmaken.py7
-rw-r--r--tools/file2json.py3
2 files changed, 2 insertions, 8 deletions
diff --git a/tools/emmaken.py b/tools/emmaken.py
index f54f38f1..4984435a 100755
--- a/tools/emmaken.py
+++ b/tools/emmaken.py
@@ -76,12 +76,7 @@ try:
#f.write('Args: ' + ' '.join(sys.argv) + '\nCMake? ' + str(CMAKE_CONFIG) + '\n')
#f.close()
- # If no provided compiler, use LLVM_GCC from ~/.emscripten.
- # Or, use the provided one; if it is 'clang', then use CLANG from ~/.emscripten
- cxx = os.environ.get('EMMAKEN_COMPILER')
- if cxx and cxx == 'clang':
- cxx = CLANG
- CXX = cxx or LLVM_GCC
+ CXX = CLANG
CC = to_cc(CXX)
# If we got here from a redirection through emmakenxx.py, then force a C++ compiler here
diff --git a/tools/file2json.py b/tools/file2json.py
index 19f32e17..65547e72 100644
--- a/tools/file2json.py
+++ b/tools/file2json.py
@@ -22,6 +22,5 @@ while len(sdata) > 0:
if len(sdata) > 0:
lined += ['\n']
json = '[' + ''.join(lined) + ']'
-
-print 'var ' + sys.argv[2] + '=' + json + ';'
+print json