From: Holger Hans Peter Freyther Date: Mon, 11 Jan 2010 12:56:15 +0000 (+0100) Subject: qmake_base.bbclass: Unexport STRIP from the environment X-Git-Tag: Release-2010-05/1~898^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08fe78fa32569155d6ca8f1023a419911d7202ca;p=openembedded.git 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. --- 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 () {