summaryrefslogtreecommitdiffstats
path: root/src/core/core_module.pro
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-05-14 14:50:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-15 18:41:20 +0200
commit5c99742a0e66c5bdae719f6c8ccba80cf7cc1118 (patch)
tree1b15de3d4e5a7a2afe2696d09dcc068f266e80d2 /src/core/core_module.pro
parentc0bc770eb1dfcc6689df44438cd396721d5129fc (diff)
Make gyp to dump debug symbols for separate_debug_info builds
With this patch we get usable debug files. This also makes qmake strip the core lirary from unneeded sysmbols which is especially beneficial on embedded. Change-Id: Ic1cadd87dbedb9817512a8b4f251cc3e43f028d1 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/core_module.pro')
-rw-r--r--src/core/core_module.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core_module.pro b/src/core/core_module.pro
index 7aad0de92..1d5ea6be0 100644
--- a/src/core/core_module.pro
+++ b/src/core/core_module.pro
@@ -21,3 +21,7 @@ load(qt_module)
CONFIG -= bsymbolic_functions
contains(QT_CONFIG, egl): CONFIG += egl
+
+linux {
+ CONFIG(release, debug|release) | contains(QT_CONFIG, separate_debug_info): QMAKE_POST_LINK="cd $(DESTDIR) && $(STRIP) --strip-unneeded $(TARGET)"
+}