diff options
author | Kimmo Ollila <kimmo.ollila@qt.io> | 2017-01-19 11:51:50 +0200 |
---|---|---|
committer | Kimmo Ollila <kimmo.ollila@qt.io> | 2017-01-31 09:27:43 +0000 |
commit | 8d9da54dd58da7a909bb5981db27bb4e8e57d21c (patch) | |
tree | 7dab967580027efee1b069f800b48a21bf4de124 /configure.json | |
parent | 1b488d8b49c55c6f91eb4217e39a7f94f3be4231 (diff) |
Add a configure check for alloca()
Alloca() is not supported on all platforms, like
INTEGRITY on ARM, so adding a configure check for it.
This can be used when building QtQml and 3rd party
code, in particular PCRE2 and SQLite.
Change-Id: I9785e16c21f67d1a68fef567e18c3356170f027e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.json b/configure.json index 21ec84818d..cb64e6313a 100644 --- a/configure.json +++ b/configure.json @@ -409,6 +409,11 @@ "type": "compile", "test": "unix/posix_fallocate" }, + "alloca": { + "label": "alloca()", + "type": "compile", + "test": "common/alloca" + }, "stack_protector": { "label": "stack protection", "type": "compilerSupportsFlag", @@ -889,6 +894,11 @@ "condition": "tests.posix_fallocate", "output": [ "privateFeature" ] }, + "alloca": { + "label": "alloca()", + "condition": "tests.alloca", + "output": [ "privateFeature" ] + }, "stack-protector-strong": { "label": "stack protection", "condition": "config.qnx && tests.stack_protector", |