fd469c7
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
fd469c7
index ee21fa9..19ee413 100644
fd469c7
--- a/tools/perf/config/Makefile
fd469c7
+++ b/tools/perf/config/Makefile
fd469c7
@@ -34,6 +34,10 @@ ifeq ($(ARCH),arm)
fd469c7
   LIBUNWIND_LIBS = -lunwind -lunwind-arm
fd469c7
 endif
fd469c7
 
fd469c7
+ifneq ($(ARCH),x86)
fd469c7
+  NO_LIBDW_DWARF_UNWIND := 1
fd469c7
+endif
fd469c7
+
fd469c7
 ifeq ($(LIBUNWIND_LIBS),)
fd469c7
   NO_LIBUNWIND := 1
fd469c7
 else