summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@redhat.com>2010-12-04 12:17:29 -0500
committerKyle McMartin <kyle@redhat.com>2010-12-04 12:17:29 -0500
commita67a18274b175bfa5b43183096d46710270b44d0 (patch)
tree8b113b50446daaa98195f115034582d7fa804c3b
parentaa5692446536161e0d9bcc123b5450d26d7d60c6 (diff)
downloadkernel-a67a18274b175bfa5b43183096d46710270b44d0.tar.gz
kernel-a67a18274b175bfa5b43183096d46710270b44d0.tar.xz
kernel-a67a18274b175bfa5b43183096d46710270b44d0.zip
enable cplus_demangle in perf
-rw-r--r--kernel.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index 83f60616d..c9bd53beb 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1722,7 +1722,7 @@ BuildKernel %make_target %kernel_image smp
%endif
%global perf_make \
- make %{?_smp_mflags} -C tools/perf -s V=1 NO_DEMANGLE=1 prefix=%{_prefix}
+ make %{?_smp_mflags} -C tools/perf -s V=1 HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix}
%if %{with_perf}
%{perf_make} all
%{perf_make} man || %{doc_build_fail}
@@ -2028,6 +2028,10 @@ fi
# || ||
%changelog
+* Sat Dec 04 2010 Kyle McMartin <kyle@redhat.com>
+- Enable C++ symbol demangling with perf by linking against libiberty.a,
+ which is LGPL2.
+
* Fri Dec 03 2010 Kyle McMartin <kyle@redhat.com> 2.6.36.1-11
- Enable HP ILO on x86_64. (#571329)