⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176519 in webkit


Ignore:
Timestamp:
Nov 24, 2014, 6:49:39 AM (12 years ago)
Author:
berto@igalia.com
Message:

Webkit2 doesnt build on powerpc 32 bits
https://bugs.webkit.org/show_bug.cgi?id=130837

Reviewed by Carlos Garcia Campos.

Check if libatomic is needed in order to use std::atomic, and add
it to the list of WebKit2 libraries.

  • PlatformGTK.cmake:
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r176517 r176519  
     12014-11-24  Alberto Garcia  <berto@igalia.com>
     2
     3        Webkit2 doesnt build on powerpc 32 bits
     4        https://bugs.webkit.org/show_bug.cgi?id=130837
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Check if libatomic is needed in order to use std::atomic, and add
     9        it to the list of WebKit2 libraries.
     10
     11        * PlatformGTK.cmake:
     12
    1132014-11-24  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Source/WebKit2/PlatformGTK.cmake

    r176016 r176519  
    468468)
    469469
     470file(WRITE ${CMAKE_BINARY_DIR}/test_atomic.cpp
     471     "#include <atomic>\n"
     472     "int main() { std::atomic<int64_t> i(0); i++; return 0; }\n")
     473try_compile(ATOMIC_BUILD_SUCCEEDED ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/test_atomic.cpp)
     474if (NOT ATOMIC_BUILD_SUCCEEDED)
     475    list(APPEND WebKit2_LIBRARIES atomic)
     476endif ()
     477file(REMOVE ${CMAKE_BINARY_DIR}/test_atomic.cpp)
     478
    470479set(SharedWebKit2Libraries
    471480    ${WebKit2_LIBRARIES}
Note: See TracChangeset for help on using the changeset viewer.