Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <radek.doulik@gmail.com>2022-01-14 23:36:33 +0300
committerGitHub <noreply@github.com>2022-01-14 23:36:33 +0300
commit2f71db259dc371c6a0cbe6b35941f1f20b9c0759 (patch)
tree7ca71fbb180151efb2f6cd880302c86176ad97d5
parent0ad2b686364b5fe4e7a6f4b6e1335ea6ea94dab7 (diff)
Set linker flags manually to enable build-id (#158)
Co-authored-by: Radek Doulik <radekdoulik@google.com>
-rw-r--r--llvm.proj2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm.proj b/llvm.proj
index 5c47679b86a4..47cf4dedffa9 100644
--- a/llvm.proj
+++ b/llvm.proj
@@ -76,7 +76,7 @@
<_LLVMBuildArgs Include='-DCLANG_INCLUDE_TESTS:BOOL=OFF' />
<_LLVMBuildArgs Include='-DCLANG_ENABLE_ARCMT:BOOL=OFF' />
<_LLVMBuildArgs Include='-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=OFF' />
- <_LLVMBuildArgs Include='-DENABLE_LINKER_BUILD_ID:BOOL=ON' />
+ <_LLVMBuildArgs Condition="'$(BuildOS)' == 'Linux'" Include='-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--build-id' />
</ItemGroup>
<PropertyGroup Condition="'$(BuildOS)' != 'Windows_NT'">