Messages in this thread | | | Date | Thu, 18 Jun 2015 16:07:56 -0600 | From | David Ahern <> | Subject | Re: [PATCH regression 4.0 -> 4.1] tools perf: Fix build breakage if prefix= is specified |
| |
On 6/18/15 2:39 PM, Lukas Wunner wrote: > So the prefix parameter should have no effect at all in your case, > no matter to what you set it.
It does:
rpmbuild -bb --define="_prefix /tmp/junk" SPECS/perf.spec
... + make -s -C tools/perf V=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 prefix=/tmp/junk DESTDIR=/root/rpmbuild/BUILDROOT/perf-4.1.rc6-1.x86_64 all
...
Note that prefix=/tmp/junk when tools/perf/Makefile gets invoked.
[root@f21-vbox rpmbuild]# rpm -qvlp /root/rpmbuild/RPMS/x86_64/perf-4.1.rc6-1.x86_64.rpm | grep bin/perf -rwxr-xr-x 2 root root 2382176 Jun 18 13:10 /tmp/junk/bin/perf
| |