summaryrefslogtreecommitdiffstats
path: root/disable-libdw-unwind-on-non-x86.patch
blob: 445fc1942b3d223c5d71ae5874b64d59af5a645a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index ee21fa9..19ee413 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -34,6 +34,10 @@ ifeq ($(ARCH),arm)
   LIBUNWIND_LIBS = -lunwind -lunwind-arm
 endif
 
+ifneq ($(ARCH),x86)
+  NO_LIBDW_DWARF_UNWIND := 1
+endif
+
 ifeq ($(LIBUNWIND_LIBS),)
   NO_LIBUNWIND := 1
 else