diff options
Diffstat (limited to 'meta/recipes-qt/qt4/files/add_nostrip_for_debug_packages.diff')
-rw-r--r-- | meta/recipes-qt/qt4/files/add_nostrip_for_debug_packages.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/files/add_nostrip_for_debug_packages.diff b/meta/recipes-qt/qt4/files/add_nostrip_for_debug_packages.diff new file mode 100644 index 0000000000..774cb997a4 --- /dev/null +++ b/meta/recipes-qt/qt4/files/add_nostrip_for_debug_packages.diff | |||
@@ -0,0 +1,23 @@ | |||
1 | author: Fathi Boudra <fabo@debian.org> | ||
2 | |||
3 | Qt is built in release mode and strip files by default. | ||
4 | Set CONFIG+=nostrip to avoid the stripping and | ||
5 | let dh_strip do it to generate debug packages. | ||
6 | |||
7 | Upstream-Status: Inappropriate [Configuration] | ||
8 | |||
9 | --- | ||
10 | configure | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | --- a/configure | ||
14 | +++ b/configure | ||
15 | @@ -627,6 +627,8 @@ mkdir -p "$outpath/config.tests" | ||
16 | rm -f "$outpath/config.tests/.qmake.cache" | ||
17 | cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache" | ||
18 | |||
19 | +QMakeVar add CONFIG nostrip | ||
20 | + | ||
21 | QMakeVar add styles "cde mac motif plastique cleanlooks windows" | ||
22 | QMakeVar add decorations "default windows styled" | ||
23 | QMakeVar add mouse-drivers "pc" | ||