diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-31 16:38:58 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-31 16:52:09 +0200 |
commit | df677bc43aae10f534fc0b645e6beb65905c2a24 (patch) | |
tree | 68f64e887617bbd30f975013c7489ce0dac0a7df /recipes/dri | |
parent | 455da13d9d2be07a4de6030c0b2bfee4551c3fb8 (diff) |
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@gmail.com>
Diffstat (limited to 'recipes/dri')
-rw-r--r-- | 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 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" |