From: LLVM Packaging Team Date: Fri, 18 Sep 2020 09:47:25 +0000 (+0100) Subject: bootstrap-with-openmp-version-export-missing X-Git-Tag: archive/raspbian/1%7.0.1-8+rpi3+deb10u2^2~58 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2e432be56d7befcd2019993d8b136be0e1c1af1d;p=llvm-toolchain-7.git bootstrap-with-openmp-version-export-missing =================================================================== Gbp-Pq: Topic openmp Gbp-Pq: Name bootstrap-with-openmp-version-export-missing.diff --- 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