diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-07 10:32:54 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-07 10:32:54 -0800 |
commit | 466af17eb971e780f83d663f0d424bf71064b3d3 (patch) | |
tree | 50b4e9bc6d7555a2feff88d775a39996b079b004 /tests/runner.py | |
parent | 4a6e77e0486e06479d9700a7e2f768e3fd7162e6 (diff) |
strip debug info in -O1 and above by default, unless -g is specified when converting to JS, since (1) js optimizations strip it anyhow, and (2) it slows down compilation
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index a5d5045a..456b5bf5 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -5755,8 +5755,7 @@ void*:16 def get_freetype(self): Settings.INIT_STACK = 1 # TODO: Investigate why this is necessary return self.get_library('freetype', - os.path.join('objs', '.libs', 'libfreetype.a'), - cache_name_extra='' if self.emcc_args is None or '-O2' not in self.emcc_args else '_opt') + os.path.join('objs', '.libs', 'libfreetype.a')) def test_freetype(self): if Settings.QUANTUM_SIZE == 1: return self.skip('TODO: Figure out and try to fix') |