diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-12-02 17:06:08 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-12-02 17:06:08 +0300 |
commit | 18583eaa2c6fa769ce80605422fa10a60d353af7 (patch) | |
tree | 4b6730afc2006e86ae8b91c8c4cf52b313b5c188 /debian/patches/openmp/bootstrap-with-openmp-version-export-missing.diff | |
download | llvm-toolchain-8-18583eaa2c6fa769ce80605422fa10a60d353af7.tar.gz |
Import llvm-toolchain-8 (1:8.0.1-4)debian/8.0.1-4debian
Diffstat (limited to 'debian/patches/openmp/bootstrap-with-openmp-version-export-missing.diff')
-rw-r--r-- | debian/patches/openmp/bootstrap-with-openmp-version-export-missing.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/openmp/bootstrap-with-openmp-version-export-missing.diff b/debian/patches/openmp/bootstrap-with-openmp-version-export-missing.diff new file mode 100644 index 0000000..f503df2 --- /dev/null +++ b/debian/patches/openmp/bootstrap-with-openmp-version-export-missing.diff @@ -0,0 +1,14 @@ +Index: llvm-toolchain-7-7/openmp/runtime/src/CMakeLists.txt +=================================================================== +--- llvm-toolchain-7-7.orig/openmp/runtime/src/CMakeLists.txt ++++ llvm-toolchain-7-7/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 |