xfs
[Top] [All Lists]

Re: xfsprogs: Add BUILD_CFLAGS for cross compilation

To: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
Subject: Re: xfsprogs: Add BUILD_CFLAGS for cross compilation
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 2 Feb 2016 10:08:28 -0800
Cc: hch@xxxxxxxxxxxxx, tytso@xxxxxxx, fstests@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1454361909-36538-1-git-send-email-gwendal@xxxxxxxxxxxx>
References: <1437913255-7524-4-git-send-email-tytso@xxxxxxx> <1454361909-36538-1-git-send-email-gwendal@xxxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
On Mon, Feb 01, 2016 at 01:25:09PM -0800, Gwendal Grignou wrote:
> When cross compiling, CFLAGS may contains option for the cros-compiler the
> host compiler can not handle.
> Add BUILD_CFLAGS variable that does not include $OPTIMIZER options.

I would have expected this to be HOST_CFLAGS, but it seems the
BUILD_ convention already exists in xfsprogs, so sticking to it
looks fine to me.

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>