summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-11 13:56:15 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-14 18:36:18 +0100
commit08fe78fa32569155d6ca8f1023a419911d7202ca (patch)
tree93040cc26f661d732bed848cf785048ec8f77d69 /classes
parent88f4d12d2c40db3b2147ab6aa3ceb852c6efdf12 (diff)
qmake_base.bbclass: Unexport STRIP from the environment
The Makefile's generated by Qt are using this variable and the assignment of STRIP = $(OE_QMAKE_STRIP) will be overturned by this export. One option would be to set STRIP = $OE_QMAKE_STRIP in the bb file but this would break striping in package.bbclass. With the unset STRIP we are able to generate proper -dbg packages for Qt and other qmake based utilities.
Diffstat (limited to 'classes')
-rw-r--r--classes/qmake_base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/qmake_base.bbclass b/classes/qmake_base.bbclass
index 50d8bb53da..4fbe21f2e1 100644
--- a/classes/qmake_base.bbclass
+++ b/classes/qmake_base.bbclass
@@ -13,6 +13,9 @@ export OE_QMAKE_AR="${AR}"
export OE_QMAKE_STRIP="echo"
export OE_QMAKE_RPATH="-Wl,-rpath-link,"
+# do not export STRIP to the environment
+STRIP[unexport] = "1"
+
# default to qte2 via bb.conf, inherit qt3x11 to configure for qt3x11
oe_qmake_mkspecs () {