Changeset 244960 in webkit


Ignore:
Timestamp:
May 6, 2019 12:54:28 AM (5 years ago)
Author:
chris.reid@sony.com
Message:

[CMake] fuse-ld should also be set in module linker flags
https://bugs.webkit.org/show_bug.cgi?id=197583

Reviewed by Michael Catanzaro.

Add fuse-ld to CMAKE_MODULE_LINKER_FLAGS.

  • Source/cmake/OptionsCommon.cmake:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r244919 r244960  
     12019-05-06  Christopher Reid  <chris.reid@sony.com>
     2
     3        [CMake] fuse-ld should also be set in module linker flags
     4        https://bugs.webkit.org/show_bug.cgi?id=197583
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Add fuse-ld to CMAKE_MODULE_LINKER_FLAGS.
     9
     10        * Source/cmake/OptionsCommon.cmake:
     11
    1122019-05-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
    213
  • trunk/Source/cmake/OptionsCommon.cmake

    r244895 r244960  
    6868        set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld -Wl,--disable-new-dtags")
    6969        set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld -Wl,--disable-new-dtags")
     70        set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -fuse-ld=lld -Wl,--disable-new-dtags")
    7071    else ()
    7172        set(USE_LD_LLD OFF)
     
    8182        set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold -Wl,--disable-new-dtags")
    8283        set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold -Wl,--disable-new-dtags")
     84        set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -fuse-ld=gold -Wl,--disable-new-dtags")
    8385    else ()
    8486        message(WARNING "GNU gold linker isn't available, using the default system linker.")
Note: See TracChangeset for help on using the changeset viewer.