aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch
blob: 4f5fdc958109861610208d482ecdcafdab9b4ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 05bbd2dce8c7f4a40d86841671763b9d8b51c886 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Fri, 24 Nov 2017 15:16:31 +0200
Subject: [PATCH] Bootstrap without linkat feature

qmake does not work together with pseudo when unnamed temporary files
are used with linkat.

Upstream-Status: Inappropriate [OE specific]
[YOCTO #11996]
---
 src/corelib/global/qconfig-bootstrapped.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h
index c5585ea32a..de895e7bf4 100644
--- a/src/corelib/global/qconfig-bootstrapped.h
+++ b/src/corelib/global/qconfig-bootstrapped.h
@@ -90,7 +90,7 @@
 #define QT_FEATURE_itemmodel -1
 #define QT_FEATURE_library -1
 #ifdef __linux__
-# define QT_FEATURE_linkat 1
+# define QT_FEATURE_linkat -1
 #else
 # define QT_FEATURE_linkat -1
 #endif