diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-02-20 16:38:25 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-02-21 08:50:49 +0700 |
commit | 21f7959f64db7f3309e7f9d0d106abb1ea82f403 (patch) | |
tree | 987d9eea6fe4a9afe56613673f7fb9cb118a5ed8 /tools/shared.py | |
parent | b63fde6a7fe863c6f3448e2b63d3e17eb9bb0d83 (diff) |
emcc: Improve handling of -O flag.
Previously, while gcc supports -O, emcc would fail. It now interprets
-O as -O2, just as gcc does.
Additionally, it was only looking at the first character after -O, so
nonsense like -O34 would be accepted (and treated as -O3).
Diffstat (limited to 'tools/shared.py')
0 files changed, 0 insertions, 0 deletions