]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: use oe_multilib_header on bits/floatn.h
authorChen Qi <Qi.Chen@windriver.com>
Fri, 20 Apr 2018 09:07:34 +0000 (17:07 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 May 2018 09:03:25 +0000 (10:03 +0100)
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 <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/glibc/glibc-package.inc

index ff45dfe35adfab352a1f13f15904032ac7f6637d..728bc5381fd141ea06f7a286f6894ccf68cca901 100644 (file)
@@ -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