From 9a7575b2c6559e35538dfe5b18ae2adbb5c666be Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Thu, 23 Feb 2023 11:35:40 +0100 Subject: add missing ldflags -pthread and use -pthread consistently --- test/buildtool/logging/TARGETS | 1 + test/other_tools/just_mr/TARGETS | 2 +- test/utils/cpp/TARGETS | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/buildtool/logging/TARGETS b/test/buildtool/logging/TARGETS index a14a0fc3..c6046227 100644 --- a/test/buildtool/logging/TARGETS +++ b/test/buildtool/logging/TARGETS @@ -20,6 +20,7 @@ , ["src/buildtool/file_system", "file_system_manager"] ] , "stage": ["test", "buildtool", "logging"] + , "private-ldflags": ["-pthread"] } , "TESTS": {"type": "install", "tainted": ["test"], "deps": ["log_sink_file", "logger"]} diff --git a/test/other_tools/just_mr/TARGETS b/test/other_tools/just_mr/TARGETS index 15d31445..385cbaef 100644 --- a/test/other_tools/just_mr/TARGETS +++ b/test/other_tools/just_mr/TARGETS @@ -13,7 +13,7 @@ , ["src/other_tools/utils", "archive_ops"] , ["src/utils/cpp", "tmp_dir"] ] - , "private-ldflags": ["-lpthread"] + , "private-ldflags": ["-pthread"] , "stage": ["src"] } , "just_mr_mp": diff --git a/test/utils/cpp/TARGETS b/test/utils/cpp/TARGETS index 9da792dc..16daa3c7 100644 --- a/test/utils/cpp/TARGETS +++ b/test/utils/cpp/TARGETS @@ -21,6 +21,7 @@ , ["src/utils/cpp", "atomic"] ] , "stage": ["test", "utils", "cpp"] + , "private-ldflags": ["-pthread"] } , "TESTS": {"type": "install", "tainted": ["test"], "deps": ["path", "file_locking"]} -- cgit v1.2.3