aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/vgabios
diff options
context:
space:
mode:
authorDariusz Pelowski <dariusz.pelowski@gmail.com>2017-10-18 20:13:00 +0200
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-10-18 18:25:28 -0400
commitdf188e48e73e3ee209fa4b923f522b195562bdaf (patch)
treec7520ebfd87efa37f190e4feaca1c202c9c53388 /recipes-extended/vgabios
parent8d3beeb4f45a9b9e700dbdd40555f3e62e368104 (diff)
downloadmeta-virtualization-df188e48e73e3ee209fa4b923f522b195562bdaf.tar.gz
meta-virtualization-df188e48e73e3ee209fa4b923f522b195562bdaf.tar.bz2
meta-virtualization-df188e48e73e3ee209fa4b923f522b195562bdaf.zip
vgabios: don't override the compiler ldflags
Fix for building biossums on genericx86-64 machine, due to QA issue: ERROR: QA Issue: No GNU_HASH in the elf binary: '.../0.7a-r0/packages-split/biossums/usr/bin/biossums' [ldflags] caused by overriding LDFLAGS variable to empty value in project's makefile. In consequence there's missing LDFLAGS settings from bitbake (including -Wl,--hash-style=gnu, which causes showing this QA). Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/vgabios')
-rw-r--r--recipes-extended/vgabios/biossums_0.7a.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/vgabios/biossums_0.7a.bb b/recipes-extended/vgabios/biossums_0.7a.bb
index 10bd014..e66bade 100644
--- a/recipes-extended/vgabios/biossums_0.7a.bb
+++ b/recipes-extended/vgabios/biossums_0.7a.bb
@@ -20,6 +20,7 @@ do_configure() {
# Don't override the compiler or its flags:
sed 's,^CC,DISABLED_CC,' -i Makefile
sed 's,^CFLAGS,DISABLED_CFLAGS,' -i Makefile
+ sed 's,^LDFLAGS,DISABLED_LDFLAGS,' -i Makefile
# Supply the C flags to the compiler:
sed 's,-o biossums,$(CFLAGS) -o biossums,' -i Makefile
}