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