Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 775791 | Differences between
and this patch

Collapse All | Expand All

(-)a/Source/cmake/OptionsCommon.cmake (-1 / +1 lines)
Lines 52-58 Link Here
52
endif ()
52
endif ()
53
53
54
# Use ld.gold if it is available and isn't disabled explicitly
54
# Use ld.gold if it is available and isn't disabled explicitly
55
CMAKE_DEPENDENT_OPTION(USE_LD_GOLD "Use GNU gold linker" ON
55
CMAKE_DEPENDENT_OPTION(USE_LD_GOLD "Use GNU gold linker" OFF
56
                       "NOT CXX_ACCEPTS_MFIX_CORTEX_A53_835769;NOT ARM_TRADITIONAL_DETECTED;NOT WIN32;NOT APPLE;NOT USE_LD_LLD" OFF)
56
                       "NOT CXX_ACCEPTS_MFIX_CORTEX_A53_835769;NOT ARM_TRADITIONAL_DETECTED;NOT WIN32;NOT APPLE;NOT USE_LD_LLD" OFF)
57
if (USE_LD_GOLD)
57
if (USE_LD_GOLD)
58
    execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)
58
    execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)

Return to bug 775791