mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-21 14:09:09 +00:00
15 lines
809 B
Diff
15 lines
809 B
Diff
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/openmp/runtime/src/CMakeLists.txt
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/openmp/runtime/src/CMakeLists.txt
|
|
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/openmp/runtime/src/CMakeLists.txt
|
|
@@ -168,7 +168,8 @@ endif()
|
|
|
|
# Linking command will include libraries in LIBOMP_CONFIGURED_LIBFLAGS
|
|
libomp_get_libflags(LIBOMP_CONFIGURED_LIBFLAGS)
|
|
-target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS})
|
|
+target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS}
|
|
+ "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports_so.txt")
|
|
|
|
# Create *.inc before compiling any sources
|
|
# objects depend on : .inc files
|