summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/recipes-kernel
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2021-05-24 11:43:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-10 16:39:45 +0000
commitb3f1442221b93bb597067104eb221819e7a122eb (patch)
tree03a30e6a8877219779a2fcf1d4d91dc7d6a26cbd /meta-yocto-bsp/recipes-kernel
parent256a978dd451ef61647001c9db2c97d2aeb7cc48 (diff)
downloadpoky-b3f1442221b93bb597067104eb221819e7a122eb.tar.gz
unfs3: correct configure option
On some new distro like ubuntu21.04, unfs3-native compile failed with error: undefined reference to `xdr_uint32', since new distro has new glibc. >From glibc 2.27 rpc support is dropped, so unfs3 need to link to libtirpc. Here is defination of ac_link: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' Depended library should be added into LIBS, not LDFLAGS, otherwise, gcc may not load the lib since it is before conftest.$ac_ext during configure. Finally, it results in compile failed. (From OE-Core rev: d0b1807edc10835beff9a55a105ac191b6ac2fe7) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 27867862c1fee6c0e649286500fa1ab015d57faf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/recipes-kernel')
0 files changed, 0 insertions, 0 deletions