From e6a28b6435b03853eaba2aeed42e428a21c643ed Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 23 Jan 2023 14:34:29 +0100 Subject: [PATCH] dnsdist: Use llvm-ar and llvm-ranlib when LTO is enabled --- tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks.py b/tasks.py index edbf0307e1..75a1f77670 100644 --- a/tasks.py +++ b/tasks.py @@ -426,6 +426,8 @@ def ci_dnsdist_configure(c, features): cxxflags = cflags + ' -Wp,-D_GLIBCXX_ASSERTIONS ' + additional_flags res = c.run('''CFLAGS="%s" \ CXXFLAGS="%s" \ + AR=llvm-ar-12 \ + RANLIB=llvm-ranlib-12 \ ./configure \ CC='clang-12' \ CXX='clang++-12' \ -- 2.47.2