diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/emmaken.py | 7 | ||||
-rw-r--r-- | tools/file2json.py | 3 |
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 |