From 183c445ec451f279e860dc629525cc89fea127e4 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Wed, 21 Mar 2018 21:56:33 +0000 Subject: [PATCH] fix-llvm-config-obj-src-root Gbp-Pq: Name fix-llvm-config-obj-src-root.patch --- tools/llvm-config/llvm-config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp index 08b096afb..09074ff66 100644 --- a/tools/llvm-config/llvm-config.cpp +++ b/tools/llvm-config/llvm-config.cpp @@ -557,9 +557,9 @@ int main(int argc, char **argv) { } else if (Arg == "--shared-mode") { PrintSharedMode = true; } else if (Arg == "--obj-root") { - OS << ActivePrefix << '\n'; + OS << ActivePrefix << "/build/" << '\n'; } else if (Arg == "--src-root") { - OS << LLVM_SRC_ROOT << '\n'; + OS << ActivePrefix << "/build/" << '\n'; } else if (Arg == "--ignore-libllvm") { LinkDyLib = false; LinkMode = BuiltSharedLibs ? LinkModeShared : LinkModeAuto; -- 2.30.2