Skip to content

Instantly share code, notes, and snippets.

Created March 24, 2012 21:19
Show Gist options
  • Save anonymous/2188177 to your computer and use it in GitHub Desktop.
Save anonymous/2188177 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Mar 24, 2012.
    13 changes: 13 additions & 0 deletions gistfile1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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