aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/masm-defs.pri
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-02-07 16:20:56 +0100
committerLars Knoll <lars.knoll@digia.com>2013-02-09 10:39:28 +0100
commitd57bc1cf06965faf9e545048e6c996e8059c9d10 (patch)
tree2c1b99dd76ac8e0d5b38c0774a2028399d462daf /src/3rdparty/masm/masm-defs.pri
parent1404a36f104e3a862d8eb969313a720867e37243 (diff)
Make it possible to omit the udis86 assembler from compilation
Disable it on Windows and enable it generally only on x86 and amd64 architectures. Change-Id: If8f366a3095608b9afcd30dee6dc636d442d4107 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/masm/masm-defs.pri')
-rw-r--r--src/3rdparty/masm/masm-defs.pri4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/masm/masm-defs.pri b/src/3rdparty/masm/masm-defs.pri
index 5744905f93..f8055d0ff4 100644
--- a/src/3rdparty/masm/masm-defs.pri
+++ b/src/3rdparty/masm/masm-defs.pri
@@ -19,7 +19,9 @@ INCLUDEPATH += $$PWD/stubs
INCLUDEPATH += $$PWD/stubs/wtf
INCLUDEPATH += $$PWD
-DEFINES += WTF_USE_UDIS86=1
+if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")):!win*: DEFINES += WTF_USE_UDIS86=1
+else: DEFINES += WTF_USE_UDIS86=0
+
INCLUDEPATH += $$PWD/disassembler
INCLUDEPATH += $$PWD/disassembler/udis86
INCLUDEPATH += $$_OUT_PWD