ALT Linux Bugzilla
– Attachment 12102 Details for
Bug 44605
Недолинковывается pthread при сборке gcc10
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
alt-pthreads.patch
alt-pthreads.patch (text/plain), 852 bytes, created by
Sergey V Turchin
on 2022-12-16 10:54:14 MSK
(
hide
)
Description:
alt-pthreads.patch
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2022-12-16 10:54:14 MSK
Size:
852 bytes
patch
obsolete
>--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -21,6 +21,9 @@ project(VVL LANGUAGES CXX C) > > option(VVL_ENABLE_ASAN "Use address sanitization (specifically -fsanitize=address)" OFF) > >+set(THREADS_PREFER_PTHREAD_FLAG ON) >+find_package(Threads REQUIRED) >+ > option(BUILD_TESTS "Build the tests" OFF) > > add_definitions(-DVK_ENABLE_BETA_EXTENSIONS) # Enable beta Vulkan extensions >--- a/layers/CMakeLists.txt >+++ b/layers/CMakeLists.txt >@@ -244,6 +244,7 @@ target_sources(VkLayer_khronos_validatio > > target_compile_definitions(VkLayer_khronos_validation PUBLIC ${KHRONOS_LAYER_COMPILE_DEFINITIONS}) > target_link_libraries(VkLayer_khronos_validation PRIVATE VkLayer_utils) >+target_link_libraries(VkLayer_khronos_validation PRIVATE Threads::Threads) > > if (VVL_ENABLE_ASAN) > target_compile_options(VkLayer_khronos_validation PRIVATE -fsanitize=address)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44605
:
12101
| 12102