lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a578e84-6a28-4477-9aa4-dcfb37fc28b0@arm.com>
Date: Fri, 7 Jun 2024 13:50:28 +0100
From: Leo Yan <leo.yan@....com>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
 Mark Rutland <mark.rutland@....com>, James Clark <james.clark@....com>,
 Ian Rogers <irogers@...gle.com>, "Liang, Kan" <kan.liang@...ux.intel.com>,
 Nick Terrell <terrelln@...com>, Thomas Richter <tmricht@...ux.ibm.com>,
 Changbin Du <changbin.du@...wei.com>, Fangrui Song <maskray@...gle.com>,
 Mateusz Kowalczyk <fuuzetsu@...zetsu.co.uk>, linux-kernel@...r.kernel.org,
 linux-perf-users@...r.kernel.org
Subject: Re: [PATCH v1 1/6] perf: build: Setup PKG_CONFIG_LIBDIR for cross
 compilation

Hi Namhyung,

On 6/6/24 18:28, Namhyung Kim wrote:

>> --- a/tools/build/feature/Makefile
>> +++ b/tools/build/feature/Makefile
>> @@ -82,7 +82,19 @@ FILES=                                          \
>>
>>   FILES := $(addprefix $(OUTPUT),$(FILES))
>>
>> -PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
>> +PKG_CONFIG ?= pkg-config
>> +
>> +ifdef CROSS_COMPILE
>> +  ifndef PKG_CONFIG_LIBDIR
> 
> Can we do that only if the cross-compile-pkg-config is not available?

Makes sense for me.  I will update for this.

Thanks,
Leo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ