UBUNTU: [Config] Force perf to use libiberty for demangling
[linux-flexiantxendom0-natty.git] / debian / rules.d / 2-binary-arch.mk
index cf112cd..876a980 100644 (file)
@@ -365,7 +365,8 @@ endif
 
 $(stampdir)/stamp-build-perarch: prepare-perarch
 ifeq ($(do_tools),true)
-       cd $(builddir)/tools-$*/tools/perf && make $(CROSS_COMPILE)
+       cd $(builddir)/tools-$*/tools/perf && \
+               make HAVE_CPLUS_DEMANGLE=1 $(CROSS_COMPILE)
 endif
        @touch $@