diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-03-21 09:45:02 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-03-21 07:59:13 +0000 |
commit | 29afdb0a34e425728ccf85b8421e9b1aadb22f45 (patch) | |
tree | 1e99733955a22f9dc6d8aace6b5afc30250e253f | |
parent | 7965546fbe0b654ddad7418edb27a7c94c802019 (diff) |
Use matching bitwidth for x86 target
Extends the matching bitwidth check for v8snaphost builds
to include x86 targets as well.
Task-number: QTBUG-59504
Change-Id: Ieea917b8a2ed92e157d4cdb4cc272c1bd7a5f74d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | src/buildtools/configure_target.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtools/configure_target.pro b/src/buildtools/configure_target.pro index ec8e9ccfa..1750f4e6f 100644 --- a/src/buildtools/configure_target.pro +++ b/src/buildtools/configure_target.pro @@ -8,7 +8,7 @@ clang: GN_CLANG = true else: GN_CLANG = false GN_V8_HOST_CPU = $$gnArch($$QMAKE_HOST.arch) -contains(GN_CPU, "arm")|contains(GN_CPU, "mips") { +contains(GN_CPU, "arm")|contains(GN_CPU, "mips")|contains(GN_CPU, "x86") { # The v8 snapshot need a host that matches bitwidth, so we build makesnapshot to 32-bit variants of host. contains(GN_V8_HOST_CPU, x64): GN_V8_HOST_CPU = "x86" else: contains(GN_V8_HOST_CPU, arm64): GN_V8_HOST_CPU = "arm" |