diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-03-20 20:47:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-03-20 20:47:16 -0700 |
commit | 7b19ea21f31045c47fd9ea6966654fc9992b1516 (patch) | |
tree | e69a8ba6b34f8850b54a88b4a2c8cefe4a8786b9 /tools/shared.py | |
parent | 0130d6130733315a31f3f8378e56421f61f14345 (diff) |
back out change to environment vars
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/shared.py b/tools/shared.py index 2ceb4eeb..e5327be2 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -357,11 +357,11 @@ class Building: @staticmethod def get_building_env(): env = os.environ.copy() - env['CC'] = 'python %r' % EMCC - env['CXX'] = 'python %r' % EMXX - env['AR'] = 'python %r' % EMAR - env['RANLIB'] = 'python %r' % EMRANLIB - env['LIBTOOL'] = 'python %r' % EMLIBTOOL + env['CC'] = '%s' % EMCC + env['CXX'] = '%s' % EMXX + env['AR'] = '%s' % EMAR + env['RANLIB'] = '%s' % EMRANLIB + env['LIBTOOL'] = '%s' % EMLIBTOOL env['EMMAKEN_COMPILER'] = Building.COMPILER env['EMSCRIPTEN_TOOLS'] = path_from_root('tools') env['CFLAGS'] = env['EMMAKEN_CFLAGS'] = ' '.join(Building.COMPILER_TEST_OPTS) |