Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compile

Issue 29416567: Noissue - Added -fno-rtti flag, reduces build size by 5% (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created April 18, 2017, 10:25 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compile
===================================================================
--- a/compile
+++ b/compile
@@ -36,17 +36,18 @@ GENERATION_PARAMS = {
'NO_DYNAMIC_EXECUTION': 1,
'NO_FILESYSTEM': 1,
'INVOKE_RUN': 0,
'TEXTDECODER': 0,
'EXPORTED_RUNTIME_METHODS': ['cwrap', 'ccall', 'stringToAscii'],
}
DEFINES = []
ADDITIONAL_PARAMS = ['-O3', '-m32', '-std=gnu++14', '--memory-init-file', '0',
- '--emit-symbol-map', '-Wall', '-Werror', '-fno-exceptions']
+ '--emit-symbol-map', '-Wall', '-Werror', '-fno-exceptions',
+ '-fno-rtti']
def get_source_files(phase):
for (path, dirs, files) in os.walk(SOURCE_DIR):
for f in files:
if os.path.splitext(f)[1] != '.cpp':
continue
if (
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld