summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.json
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-05-20 20:57:15 -0300
committerThiago Macieira <thiago.macieira@intel.com>2018-05-22 19:26:26 +0000
commitf86fbc45667528ac9a496d1476bd139f26b3b5bc (patch)
tree11b8b251a0376427030040f5d74617704a1d3a48 /src/corelib/configure.json
parentfb0447bc054a3cbc6c15d680da91ae8237655af5 (diff)
QTemporaryFile: Disable O_TMPFILE on Android
We require linkat(2) to materialize the file and that is (stupidly) filtered. See 138d34b9c8aa368dd252d0c46393816c7e372837 and QTBUG-64103. Task-number: QTBUG-68344 Change-Id: I052407b777ec43f78378fffd152fd8822761b452 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r--src/corelib/configure.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index 5e48024def..dfb575da0d 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -569,7 +569,8 @@
},
"linkat": {
"label": "linkat()",
- "autoDetect": "config.linux",
+ "comment": "Currently only used by QTemporaryFile; linkat() exists on Android, but hardlink creation fails due to security rules",
+ "autoDetect": "config.linux && !config.android",
"condition": "tests.linkat",
"output": [ "privateFeature" ]
},