[meta-virtualization] [PATCH] vgabios: don't override the compiler ldflags
Dariusz Pelowski
dariusz.pelowski at gmail.com
Wed Oct 18 11:13:00 PDT 2017
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 at gmail.com>
---
recipes-extended/vgabios/biossums_0.7a.bb | 1 +
1 file changed, 1 insertion(+)
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
}
--
2.7.4
More information about the meta-virtualization
mailing list