Changeset 95896 in webkit


Ignore:
Timestamp:
Sep 23, 2011 8:12:24 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[CMake] Detect amd64 as a valid 64-bit architecture.
https://bugs.webkit.org/show_bug.cgi?id=67481

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-09-23
Reviewed by Oliver Hunt.

Some operating systems (generally the BSDs) use amd64 instead of x86_64
to report they're running on 64 bits, so consider it a valid value.

  • Source/CMakeLists.txt:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r95894 r95896  
     12011-09-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [CMake] Detect amd64 as a valid 64-bit architecture.
     4        https://bugs.webkit.org/show_bug.cgi?id=67481
     5
     6        Reviewed by Oliver Hunt.
     7
     8        Some operating systems (generally the BSDs) use amd64 instead of x86_64
     9        to report they're running on 64 bits, so consider it a valid value.
     10
     11        * Source/CMakeLists.txt:
     12
    1132011-09-23  Adam Klein  <adamk@chromium.org>
    214
  • trunk/Source/CMakeLists.txt

    r90251 r95896  
    6363ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
    6464    SET(WTF_CPU_MIPS 1)
    65 ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)")
     65ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|amd64)")
    6666    SET(WTF_CPU_X86_64 1)
    6767ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)")
Note: See TracChangeset for help on using the changeset viewer.