mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
qt4: fix debug symbol stripping
Adds a patch imported from Debian to not strip the executables as part of the Qt build process. This fixes the warnings shown at packaging stage as well as the content of the debug symbol packages. (From OE-Core rev: c2f6dc09a7663f69308558553be9420df3a81b6b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2e02727860
commit
2e50e9b8e6
@@ -0,0 +1,23 @@
|
||||
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.
|
||||
|
||||
Upstream-Status: Inappropriate [Configuration]
|
||||
|
||||
---
|
||||
configure | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -627,6 +627,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"
|
||||
@@ -14,6 +14,7 @@ SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.
|
||||
file://0001-Added-Openembedded-crossarch-option.patch \
|
||||
file://blacklist-diginotar-certs.diff \
|
||||
file://fix-translations.patch \
|
||||
file://add_nostrip_for_debug_packages.diff \
|
||||
file://g++.conf \
|
||||
file://linux.conf \
|
||||
file://fix-qtbug-20925.patch \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
require qt-${PV}.inc
|
||||
require qt4-embedded.inc
|
||||
|
||||
PR = "${INC_PR}.3"
|
||||
PR = "${INC_PR}.4"
|
||||
|
||||
QT_CONFIG_FLAGS_append_armv6-vfp = " -no-neon "
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
require qt4-x11-free.inc
|
||||
require qt-${PV}.inc
|
||||
|
||||
PR = "${INC_PR}.3"
|
||||
PR = "${INC_PR}.4"
|
||||
|
||||
QT_CONFIG_FLAGS_append_armv6-vfp = " -no-neon "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user