Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/compiler.pri')
-rw-r--r--qmake/compiler.pri5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmake/compiler.pri b/qmake/compiler.pri
index f23beebea..4a1b25d19 100644
--- a/qmake/compiler.pri
+++ b/qmake/compiler.pri
@@ -28,6 +28,11 @@ MUMBLE_ARCH = $$QMAKE_TARGET.arch
# It also works for cross-builds.
isEqual(QT_MAJOR_VERSION, 5) {
MUMBLE_ARCH = $$QT_ARCH
+ # QT_ARCH uses 'i386' instead of 'x86',
+ # so map that value back to what we expect.
+ equals(MUMBLE_ARCH, i386) {
+ MUMBLE_ARCH=x86
+ }
}
win32-g++ {