Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421AbdF2JBW (ORCPT ); Thu, 29 Jun 2017 05:01:22 -0400 Received: from ozlabs.org ([103.22.144.67]:46011 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751861AbdF2JBP (ORCPT ); Thu, 29 Jun 2017 05:01:15 -0400 From: Michael Ellerman To: Fathi Boudra , linux-kselftest@vger.kernel.org, Shuah Khan Cc: linux-kernel@vger.kernel.org, Bamvor Jian Zhang , Fathi Boudra Subject: Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS In-Reply-To: <20170629065802.24062-1-fathi.boudra@linaro.org> References: <20170629065802.24062-1-fathi.boudra@linaro.org> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Thu, 29 Jun 2017 19:01:10 +1000 Message-ID: <87shij9nhl.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 269 Lines: 8 Fathi Boudra writes: > Fix hardcoded and misplaced libmount headers. Use pkg-config instead to > figure out CFLAGS/LDLIBS, fixing also their value for cross-compilation. Can you explain how it fixes the values for cross-compilation? cheers