Skip to content

Instantly share code, notes, and snippets.

@torarnv
Forked from anonymous/gist:2188177
Created March 24, 2012 21:19
Show Gist options
  • Save torarnv/2188182 to your computer and use it in GitHub Desktop.
Save torarnv/2188182 to your computer and use it in GitHub Desktop.
diff --git i/src/v8/v8.pri w/src/v8/v8.pri
index ec0561a..03d4bf7 100644
--- i/src/v8/v8.pri
+++ w/src/v8/v8.pri
@@ -7,7 +7,7 @@ isEmpty(QT_ARCH) {
isEmpty(V8_TARGET_ARCH) {
# Detect target
- equals(QT_ARCH, x86_64)|contains(CONFIG, x86_64):V8_TARGET_ARCH = x64
+ equals(QT_ARCH, x86_64): V8_TARGET_ARCH = x64
else:equals(QT_ARCH, "i386"): V8_TARGET_ARCH = ia32
else:equals(QT_ARCH, "mips"): V8_TARGET_ARCH = mips
else:equals(QT_ARCH, "arm"): V8_TARGET_ARCH = arm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment