aboutsummaryrefslogtreecommitdiffstats
path: root/community/dotnet6-build/runtime_enable-system-libunwind.diff
diff options
context:
space:
mode:
Diffstat (limited to 'community/dotnet6-build/runtime_enable-system-libunwind.diff')
-rw-r--r--community/dotnet6-build/runtime_enable-system-libunwind.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/dotnet6-build/runtime_enable-system-libunwind.diff b/community/dotnet6-build/runtime_enable-system-libunwind.diff
new file mode 100644
index 00000000000..45358a0adf3
--- /dev/null
+++ b/community/dotnet6-build/runtime_enable-system-libunwind.diff
@@ -0,0 +1,22 @@
+From 75c3e74ea35219f257c80daf9a236e0f518a7875 Mon Sep 17 00:00:00 2001
+Patch-Source: https://github.com/dotnet/installer/pull/13378
+From: Antoine Martin <dev@ayakael.net>
+Date: Wed, 9 Mar 2022 20:16:03 +0000
+Subject: [PATCH 1/1] Enable system libunwind
+
+Forces use of system's libunwind
+
+---
+
+diff --git a/src/runtime/eng/SourceBuild.props b/src/runtime/eng/SourceBuild.props
+index f595e9b7d1..d90fd47dbd 100644
+--- a/src/runtime/eng/SourceBuild.props
++++ b/src/runtime/eng/SourceBuild.props
+@@ -47,6 +47,7 @@
+ <InnerBuildArgs>$(InnerBuildArgs) /p:BuildDebPackage=false</InnerBuildArgs>
+ <InnerBuildArgs>$(InnerBuildArgs) /p:RuntimeOS=$(RuntimeOS)</InnerBuildArgs>
+ <InnerBuildArgs>$(InnerBuildArgs) /p:AdditionalRuntimeIdentifierParent=$(BaseOS)</InnerBuildArgs>
++ <InnerBuildArgs>$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE</InnerBuildArgs>
+ </PropertyGroup>
+ </Target>
+