summaryrefslogtreecommitdiffstats
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
parent8d3beeb4f45a9b9e700dbdd40555f3e62e368104 (diff)
downloadmeta-virtualization-df188e48e73e3ee209fa4b923f522b195562bdaf.tar.gz
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>
-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 10bd0142..e66bade7 100644
--- a/recipes-extended/vgabios/biossums_0.7a.bb
+++ b/recipes-extended/vgabios/biossums_0.7a.bb
@@ -20,6 +20,7 @@ do_configure() {
20 # Don't override the compiler or its flags: 20 # Don't override the compiler or its flags:
21 sed 's,^CC,DISABLED_CC,' -i Makefile 21 sed 's,^CC,DISABLED_CC,' -i Makefile
22 sed 's,^CFLAGS,DISABLED_CFLAGS,' -i Makefile 22 sed 's,^CFLAGS,DISABLED_CFLAGS,' -i Makefile
23 sed 's,^LDFLAGS,DISABLED_LDFLAGS,' -i Makefile
23 # Supply the C flags to the compiler: 24 # Supply the C flags to the compiler:
24 sed 's,-o biossums,$(CFLAGS) -o biossums,' -i Makefile 25 sed 's,-o biossums,$(CFLAGS) -o biossums,' -i Makefile
25} 26}