summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-04-23 17:15:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-25 10:26:44 +0200
commitc2587b34cb62f4af027bcd8025da9c0f1599dd30 (patch)
tree6a6ab9b5ee3a6baf99ee0969e72727678d6fbaa9 /src
parent197f7614b77c8f73ac74da9feabf9c4d0c61e7d3 (diff)
Shrink the debug library size even more
Pass remove_webcore_debug_symbols=1 to gyp to reduce the library size. In case the symbols are needed CONFIG+=webcore_debug can be passed to qmake. Change-Id: I383aa3c60bfe6a0dc5344d37334b25810087d4e9 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/gyp_run.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
index 43801c8ae..ff8cf95e6 100644
--- a/src/core/gyp_run.pro
+++ b/src/core/gyp_run.pro
@@ -17,7 +17,8 @@ cross_compile {
win32: include(config/windows.pri)
}
-GYP_CONFIG +="disable_glibcxx_debug=1"
+GYP_CONFIG += disable_glibcxx_debug=1
+!webcore_debug: GYP_CONFIG += remove_webcore_debug_symbols=1
# Append additional platform options defined in GYP_CONFIG
for (config, GYP_CONFIG): GYP_ARGS += "-D $$config"