summaryrefslogtreecommitdiff
path: root/debian/patches/12_add_nostrip_for_debug_packages.diff
blob: f56291b0080589dcba92c302f987383f9b9350d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
author: Fathi Boudra <fabo@debian.org>

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.

---
 configure |    2 ++
 1 file changed, 2 insertions(+)

--- a/configure
+++ b/configure
@@ -753,6 +753,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"