summaryrefslogtreecommitdiff
path: root/debian/patches/disable-error-xray.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable-error-xray.diff')
-rw-r--r--debian/patches/disable-error-xray.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/disable-error-xray.diff b/debian/patches/disable-error-xray.diff
new file mode 100644
index 0000000..ec68308
--- /dev/null
+++ b/debian/patches/disable-error-xray.diff
@@ -0,0 +1,13 @@
+Index: llvm-toolchain-snapshot_8~svn347449/compiler-rt/lib/xray/xray_tsc.h
+===================================================================
+--- llvm-toolchain-snapshot_8~svn347449.orig/compiler-rt/lib/xray/xray_tsc.h
++++ llvm-toolchain-snapshot_8~svn347449/compiler-rt/lib/xray/xray_tsc.h
+@@ -83,8 +83,6 @@ inline uint64_t getTSCFrequency() XRAY_N
+
+ } // namespace __xray
+
+-#else
+-#error Target architecture is not supported.
+ #endif // CPU architecture
+ #endif // SANITIZER_FUCHSIA
+