From: Martin Jansa Date: Mon, 31 May 2010 14:38:58 +0000 (+0200) Subject: glamo-dri-tests: hack CC variable to respect OE LDFLAGS X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df677bc43aae10f534fc0b645e6beb65905c2a24;p=openembedded.git glamo-dri-tests: hack CC variable to respect OE LDFLAGS * workaround for: ERROR: QA Issue with glamo-dri-tests: No GNU_HASH in the elf binary Signed-off-by: Martin Jansa --- diff --git a/recipes/dri/glamo-dri-tests_git.bb b/recipes/dri/glamo-dri-tests_git.bb index 1645de5a9b..0064af5078 100644 --- a/recipes/dri/glamo-dri-tests_git.bb +++ b/recipes/dri/glamo-dri-tests_git.bb @@ -8,11 +8,12 @@ SRC_URI = "git://git.bitwiz.org.uk/glamo-dri-tests.git;protocol=git;branch=maste inherit pkgconfig do_compile_prepend() { - export CROSS_CFLAGS=`pkg-config --cflags libdrm_glamo` + export CROSS_CFLAGS="`pkg-config --cflags libdrm_glamo`" + export CC="${CC} ${LDFLAGS}" } do_install() { - PREFIX=${D}/usr make install + PREFIX=${D}/usr oe_runmake install } S = "${WORKDIR}/git"