aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-02-13 10:32:01 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-02-13 10:16:00 +0000
commit6d9861c494a68f76b105328db52369cccb1f1d20 (patch)
treefd52eb04b31e8301fc6311840548dd1f65065eed /share
parentc05b6dfac4df3956f9e11ffada7e9580cecb8c82 (diff)
Android: Remove "noexecstack" assembler option
It's redundant (we also specify this when linking), and it can cause warnings with clang. Fixes: QBS-1424 Change-Id: I71a9331ac0385c53266ef702d192b4a95d1055ba Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/Android/ndk/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/Android/ndk/utils.js b/share/qbs/modules/Android/ndk/utils.js
index a2e342897..3bc3b6d9d 100644
--- a/share/qbs/modules/Android/ndk/utils.js
+++ b/share/qbs/modules/Android/ndk/utils.js
@@ -63,7 +63,7 @@ function androidAbi(arch) {
function commonCompilerFlags(toolchain, buildVariant, abi, armMode) {
var flags = ["-ffunction-sections", "-funwind-tables",
- "-Wa,--noexecstack", "-Werror=format-security", "-fstack-protector-strong"];
+ "-Werror=format-security", "-fstack-protector-strong"];
if (abi === "arm64-v8a")
flags.push("-fpic");