From: Chen Qi Date: Fri, 20 Apr 2018 09:07:34 +0000 (+0800) Subject: glibc: use oe_multilib_header on bits/floatn.h X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=43792d7aadc981efc2f0dffa1728d2e84ad7f8a7;p=openembedded-core.git glibc: use oe_multilib_header on bits/floatn.h When building SDK via populate_sdk for qemuarm64 with multilib enabled, we would have conflict about bits/floatn.h at populate_sdk time. file /usr/include/bits/floatn.h conflicts between attempted ins talls of libc6-dev-2.27-r0.aarch64 and lib32-libc6-dev-2.27-r0.armv7vehf_vfp Apply oe_multilib_header on this header file to fix the problem. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index ff45dfe35a..728bc5381f 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc @@ -66,7 +66,7 @@ do_install_append () { rmdir --ignore-fail-on-non-empty ${D}${libexecdir} fi - oe_multilib_header bits/syscall.h bits/long-double.h + oe_multilib_header bits/syscall.h bits/long-double.h bits/floatn.h if [ -f ${D}${bindir}/mtrace ]; then sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' -e '2s,exec.*perl,exec ${USRBINPATH}/env perl,' ${D}${bindir}/mtrace