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

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +14 lines)
Line  Link Here
0
-- /clang/lib/Basic/CMakeLists.txt
0
++ /clang/lib/Basic/CMakeLists.txt
Lines 110-112 Link Here
110
  omp_gen
110
  omp_gen
111
  )
111
  )
112
112
113
# libclangBasic compiled by GCC at least on 32-bit PowerPC may contain reference
114
# to __atomic_load_8.
115
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
116
  if (LLVM_LINKER_IS_GNULD OR LLVM_LINKER_IS_GOLD OR LLVM_LINKER_IS_LLD)
117
    target_link_libraries(clangBasic
118
      PRIVATE
119
      "-Wl,--push-state"
120
      "-Wl,--as-needed"
121
      atomic
122
      "-Wl,--pop-state"
123
    )
124
  endif()
125
endif()

Return to bug 874024