_add_nostrip_for_debug_packages
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)
Qt is built in release mode and strip files by default.
Set CONFIG+=nostrip to avoid the stripping and
let dh_strip do it to generate debug packages.

Gbp-Pq: Name 12_add_nostrip_for_debug_packages.diff

configure

index 2b3127da698d853849f1a09523af422f53de4c6e..148eb4fbaddc54a8600bfca55c712181e1a1bbe5 100755 (executable)
--- a/configure
+++ b/configure
@@ -756,6 +756,8 @@ mkdir -p "$outpath/config.tests"
 rm -f "$outpath/config.tests/.qmake.cache"
 cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
 
+QMakeVar add CONFIG nostrip
+
 QMakeVar add styles "cde mac motif plastique cleanlooks windows"
 QMakeVar add decorations "default windows styled"
 QMakeVar add mouse-drivers "pc"