Changeset 228633 in webkit


Ignore:
Timestamp:
Feb 19, 2018 1:59:48 AM (6 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r228370 - [MIPS] JSC needs to be built with -latomic
https://bugs.webkit.org/show_bug.cgi?id=182610

Reviewed by Žan Doberšek.

Since r228149, on MIPS we need to link with -latomic, because
atomic_fetch_add_8 is not available as a compiler intrinsic.

  • CMakeLists.txt:
Location:
releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore/CMakeLists.txt

    r228632 r228633  
    118118    ${LLVM_LIBRARIES}
    119119)
     120
     121# Since r228149, on MIPS we need to link with -latomic, because
     122# __atomic_fetch_add_8 is not available as a compiler intrinsic. It is
     123# available on other platforms (including 32-bit Arm), so the link with
     124# libatomic is only neede on MIPS.
     125if (WTF_CPU_MIPS)
     126    list(APPEND JavaScriptCore_LIBRARIES
     127        -latomic
     128    )
     129endif ()
    120130
    121131set(JavaScriptCore_SCRIPTS_SOURCES_DIR "${JAVASCRIPTCORE_DIR}/Scripts")
  • releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore/ChangeLog

    r228632 r228633  
     12018-02-11  Guillaume Emont  <guijemont@igalia.com>
     2
     3        [MIPS] JSC needs to be built with -latomic
     4        https://bugs.webkit.org/show_bug.cgi?id=182610
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Since r228149, on MIPS we need to link with -latomic, because
     9        __atomic_fetch_add_8 is not available as a compiler intrinsic.
     10
     11        * CMakeLists.txt:
     12
    1132018-01-28  Filip Pizlo  <fpizlo@apple.com>
    214
Note: See TracChangeset for help on using the changeset viewer.