aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-05-24 09:18:16 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-05-24 10:14:42 +0000
commit607c34caf9dadcab62bdda7ba5b61a31964ad3f3 (patch)
treec8590797a185b077fc457d7cf3326e1318b3c483
parent00a1cf03c3428a0687faca642f343df4257ffc1b (diff)
GCC: Do not pass the -x option to the assembler binary
It is not present in all versions of as, and has no effect even if it is. Change-Id: I9bb5704e0288585c18a757e5fd93485566996913 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--share/qbs/modules/cpp/gcc.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/share/qbs/modules/cpp/gcc.js b/share/qbs/modules/cpp/gcc.js
index 70c1c0874..9a1d9cfee 100644
--- a/share/qbs/modules/cpp/gcc.js
+++ b/share/qbs/modules/cpp/gcc.js
@@ -689,11 +689,6 @@ function prepareAssembler(project, product, inputs, outputs, input, output) {
args.push('-W');
var tag = "asm";
- if (tag !== languageTagFromFileExtension(product.qbs.toolchain,
- input.fileName))
- // Only push '-x language' if we have to.
- args.push("-x", languageName(tag));
-
args = args.concat(ModUtils.moduleProperty(input, 'platformFlags', tag),
ModUtils.moduleProperty(input, 'flags', tag));