diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2019-04-18 23:06:57 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-04-18 23:07:00 +0000 |
commit | eb5d6daa354d51289e73e36b5c104806821e563b (patch) | |
tree | 0610f8c073dd873a91896ae7732f525f54ad1abe | |
parent | e2707a016c3475c167a421c9c73d88f81cc61bd1 (diff) | |
download | meta-qt5-eb5d6daa354d51289e73e36b5c104806821e563b.tar.gz |
qtwayland: disable gold for all archs like in qtbase
* like xlib configure test in qtbase fails to link with gold when full path to libm is being used:
| linking ../../../../../plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwayland/5.12.3+gitAUTOINC+bcdc00bcdc-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /lib/libm.so.6: No such file or directory
| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwayland/5.12.3+gitAUTOINC+bcdc00bcdc-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /usr/lib/libmvec_nonshared.a: No such file or directory
| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwayland/5.12.3+gitAUTOINC+bcdc00bcdc-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /lib/libmvec.so.1: No such file or directory
| collect2: error: ld returned 1 exit status
| Makefile:83: recipe for target '../../../../../plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so' failed
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qtwayland_git.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb index a33c9bba..28dd2be8 100644 --- a/recipes-qt/qt5/qtwayland_git.bb +++ b/recipes-qt/qt5/qtwayland_git.bb | |||
@@ -43,5 +43,4 @@ BBCLASSEXTEND =+ "native nativesdk" | |||
43 | 43 | ||
44 | # The same issue as in qtbase: | 44 | # The same issue as in qtbase: |
45 | # http://errors.yoctoproject.org/Errors/Details/152641/ | 45 | # http://errors.yoctoproject.org/Errors/Details/152641/ |
46 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 46 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
47 | |||