glamo-dri-tests: hack CC variable to respect OE LDFLAGS
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 31 May 2010 14:38:58 +0000 (16:38 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Mon, 31 May 2010 14:52:09 +0000 (16:52 +0200)
* workaround for: ERROR: QA Issue with glamo-dri-tests: No
  GNU_HASH in the elf binary

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/dri/glamo-dri-tests_git.bb

index 1645de5..0064af5 100644 (file)
@@ -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"