From 941f6a246ffe65ff4442d6b6adf16dfb218d4ddd Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Tue, 9 Jul 2019 20:04:39 +0100 Subject: [PATCH] bootstrap-with-openmp-version-export-missing =================================================================== Gbp-Pq: Topic openmp Gbp-Pq: Name bootstrap-with-openmp-version-export-missing.diff --- openmp/runtime/src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt index f9e63f4df..2db333586 100644 --- a/openmp/runtime/src/CMakeLists.txt +++ b/openmp/runtime/src/CMakeLists.txt @@ -174,7 +174,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 -- 2.30.2