diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-16 21:55:39 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-16 21:55:39 -0800 |
commit | 3c17526474d054acb9aa616d5af95103f040b2d2 (patch) | |
tree | 9ba00fff8d14d6943e891b35e951814f15680210 /emar | |
parent | 7bb863e24d5242cb9f31be0e7946e323a80d793a (diff) |
make emcc and emar more robust against odd makefile inputs
Diffstat (limited to 'emar')
-rwxr-xr-x | emar | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,5 +17,6 @@ newargs = [shared.EMLD] + sys.argv[3:] + ['-o='+sys.argv[2]] if DEBUG: print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs -os.execvp(shared.EMLD, newargs) +if len(newargs) > 2: + os.execvp(shared.EMLD, newargs) |