From df677bc43aae10f534fc0b645e6beb65905c2a24 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 31 May 2010 16:38:58 +0200 Subject: 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 --- recipes/dri/glamo-dri-tests_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- cgit v1.2.3