summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2018-08-30 10:58:18 +0900
committerMartin Jansa <Martin.Jansa@gmail.com>2018-09-25 09:34:49 +0000
commit81239229dfda6d9a4b72dc44245fdfb9f10e6fcb (patch)
treec18d033022c3dde75a8155f040923772748f26ad /recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch
parentf9e80edff01159375b6e03f3cb9ea1f8ed5ced79 (diff)
downloadmeta-qt5-81239229dfda6d9a4b72dc44245fdfb9f10e6fcb.tar.gz
qtbase: Fix build error for armv8BE multilib.
* MJ: modified to apply correctly and to be included in native and nativesdk builds as the comment above SRC_URI says. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch')
-rw-r--r--recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch
new file mode 100644
index 00000000..c191a421
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch
@@ -0,0 +1,27 @@
1From 365b1b7059d333331a208418b66e9107dc2a4fcc Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 24 Nov 2017 15:16:31 +0200
4Subject: [PATCH] Bootstrap without linkat feature
5
6qmake does not work together with pseudo when unnamed temporary files
7are used with linkat.
8
9Upstream-Status: Inappropriate [OE specific]
10[YOCTO #11996]
11---
12 src/corelib/global/qconfig-bootstrapped.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h
16index c5585ea32a..de895e7bf4 100644
17--- a/src/corelib/global/qconfig-bootstrapped.h
18+++ b/src/corelib/global/qconfig-bootstrapped.h
19@@ -90,7 +90,7 @@
20 #define QT_FEATURE_itemmodel -1
21 #define QT_FEATURE_library -1
22 #ifdef __linux__
23-# define QT_FEATURE_linkat 1
24+# define QT_FEATURE_linkat -1
25 #else
26 # define QT_FEATURE_linkat -1
27 #endif