Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752933AbbFRWH7 (ORCPT ); Thu, 18 Jun 2015 18:07:59 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:34288 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbbFRWH6 (ORCPT ); Thu, 18 Jun 2015 18:07:58 -0400 Message-ID: <5583413C.1040802@gmail.com> Date: Thu, 18 Jun 2015 16:07:56 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Lukas Wunner CC: Jiri Olsa , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org Subject: Re: [PATCH regression 4.0 -> 4.1] tools perf: Fix build breakage if prefix= is specified References: <201506181332.t5IDWuUq027242@int-mx13.intmail.prod.int.phx2.redhat.com> <20150618192931.GA11223@krava.redhat.com> <20150618195955.GA4755@wunner.de> <55832971.4070603@gmail.com> <20150618203935.GA4806@wunner.de> In-Reply-To: <20150618203935.GA4806@wunner.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 915 Lines: 28 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/