diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-06-29 11:39:27 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-07-02 06:18:32 +0000 |
commit | 31142378774c3aa6f4c137441e23c89b15355a31 (patch) | |
tree | e2019f3041b3da52cb89ec3143b162b23ad9a0a8 /configure.json | |
parent | d72ac3f35f4c6d6405e9675d54124b3ddb8d80ab (diff) |
Call arch test through the new qmake based configure system
Detect host and target architecture from within qmake, and set
QT_ARCH accordingly.
Change-Id: I30255f88c7645d197bd07355a1dff02b377cbbe8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/configure.json b/configure.json index 87fd5d7190..440e6a6b6a 100644 --- a/configure.json +++ b/configure.json @@ -200,6 +200,20 @@ }, "tests": { + "architecture": { + "description": "target architecture", + "type": "architecture", + "test": "arch", + "log": "arch" + }, + "host_architecture": { + "description": "host architecture", + "type": "architecture", + "test": "arch", + "host": true, + "pro": "arch_host.pro", + "log": "arch" + }, "GNUmake": { "description": "GNU make", "type": "gnumake" @@ -933,7 +947,7 @@ "description": "Verbose configure output", "autoDetect": false, "output": [ "verbose" ], - "priority": -3 + "priority": -4 }, "shared": { @@ -946,7 +960,7 @@ { "type": "publicQtConfig", "negative": true, "name": "static" }, { "type": "publicConfig", "negative": true, "name": "static" } ], - "priority": -2 + "priority": -3 }, "cross_compile": { "description": "Cross compiling", @@ -955,13 +969,24 @@ }, "compiler-flags": { "output": [ "compilerFlags" ], - "priority": -2 + "priority": -3 }, "gcc-sysroot": { "output": [ "gccSysroot" ], "condition": "input.sysroot != ''", + "priority": -3 + }, + "use_gold_linker": { + "description": "Using gold linker", + "condition": "tests.use_gold_linker", + "output": [ "privateConfig", "useGoldLinker" ], "priority": -2 }, + "architecture": { + "description": "Architecture", + "output": [ "architecture" ], + "priority": -1 + }, "pkg-config": { "description": "Using pkg-config", "autoDetect": "!config.darwin", @@ -972,12 +997,6 @@ ], "priority": -1 }, - "use_gold_linker": { - "description": "Using gold linker", - "condition": "tests.use_gold_linker", - "output": [ "privateConfig", "useGoldLinker" ], - "priority": -1 - }, "developer-build": { "description": "Developer build", |