OSDN Git Service

perf build: Disable libdw DWARF unwind when built with NO_DWARF
[uclinux-h8/linux.git] / tools / perf / config / Makefile
index 435b6ca..1b957a1 100644 (file)
@@ -268,6 +268,10 @@ else
   endif # libelf support
 endif # NO_LIBELF
 
+ifdef NO_DWARF
+  NO_LIBDW_DWARF_UNWIND := 1
+endif
+
 ifndef NO_LIBELF
   CFLAGS += -DHAVE_LIBELF_SUPPORT
   EXTLIBS += -lelf