diff options
author | Alexander Thoma <a.thoma@rational-online.com> | 2022-02-11 11:45:35 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-11 09:19:40 -0800 |
commit | 3bb001d3f364bbf6588fed04b9ee2c7e74a0beba (patch) | |
tree | 9357b529f935a6dca2234269f8bb3bf39e955dbe /recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch | |
parent | 3743fe06938cd2a8384ad541ed11e4f085ade255 (diff) | |
download | meta-clang-3bb001d3f364bbf6588fed04b9ee2c7e74a0beba.tar.gz |
fix openmp patch filename
Diffstat (limited to 'recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch b/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch new file mode 100644 index 0000000..3901268 --- /dev/null +++ b/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 11bd98436bd7e99fb1fc2c07c150c71e2250a262 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joel Winarske <joel.winarske@gmail.com> | ||
3 | Date: Wed, 9 Feb 2022 11:11:55 -0800 | ||
4 | Subject: [PATCH] OpenMP link fix | ||
5 | |||
6 | Signed-off-by: Joel Winarske <joel.winarske@gmail.com> | ||
7 | --- | ||
8 | openmp/runtime/src/CMakeLists.txt | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt | ||
12 | index 9f46b4bd4..3106e497d 100644 | ||
13 | --- a/openmp/runtime/src/CMakeLists.txt | ||
14 | +++ b/openmp/runtime/src/CMakeLists.txt | ||
15 | @@ -168,7 +168,7 @@ endif() | ||
16 | |||
17 | # Linking command will include libraries in LIBOMP_CONFIGURED_LIBFLAGS | ||
18 | libomp_get_libflags(LIBOMP_CONFIGURED_LIBFLAGS) | ||
19 | -target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS}) | ||
20 | +target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS} "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports_so.txt") | ||
21 | |||
22 | # Create *.inc before compiling any sources | ||
23 | # objects depend on : .inc files | ||
24 | -- | ||
25 | 2.31.1 | ||
26 | |||