summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-03-23 07:02:47 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-23 07:50:57 +0100
commit70a88331519e6e6439ff23a9cc91b2e3f607acb6 (patch)
treefa249201746890bff5d0058686b894ae2a82fedc /tools
parent16b7ddde104944d33877810453c7c3280eeb6300 (diff)
configure: Fix x86_64 detection
The regular expression should look for underscores in addition to alphanumeric characters. Change-Id: Idc3dbd67291ec1420f818d74fba8413b1e7cbcf1 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/configure/configureapp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 58ffd28ff3..f47cff6fdd 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -2584,7 +2584,7 @@ void Configure::detectArch()
if (output.isEmpty())
continue;
- QRegExp re("Project MESSAGE:.*Architecture: ([a-zA-Z0-9]*)");
+ QRegExp re("Project MESSAGE:.*Architecture: ([a-zA-Z0-9_]*)");
if (re.indexIn(output) != -1)
dictionary[key] = re.cap(1);
}