[oe-commits] Martin Jansa : glamo-dri-tests: hack CC variable to respect OE LDFLAGS

git version control git at git.openembedded.org
Mon May 31 14:54:29 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: df677bc43aae10f534fc0b645e6beb65905c2a24
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=df677bc43aae10f534fc0b645e6beb65905c2a24

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon May 31 16:38:58 2010 +0200

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 <Martin.Jansa at gmail.com>

---

 recipes/dri/glamo-dri-tests_git.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/dri/glamo-dri-tests_git.bb b/recipes/dri/glamo-dri-tests_git.bb
index 1645de5..0064af5 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"





More information about the Openembedded-commits mailing list