[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF_CC_ENV_FLAGS breaks ccache build
From: |
Thomas Dickey |
Subject: |
Re: CF_CC_ENV_FLAGS breaks ccache build |
Date: |
Tue, 23 Aug 2016 19:09:35 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Aug 22, 2016 at 11:53:22AM +0200, Enrico Scholz wrote:
> Hello,
>
> the CF_CC_ENV_FLAGS code in recent snapshots (20160625) breaks builds
> where CC looks like
>
> | CC="ccache arm-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4
> -mfloat-abi=hard ..."
>
> (that's a common setup e.g. in the OpenEmbedded/Yocto build environment)
>
> It messes up CFLAGS completely by adding 'arm-linux-gnueabi-gcc' to it.
>
>
> I am in doubt about the usefulness of CF_CC_ENV_FLAGS and I am not sure
> what you want to get with it. But at least, I would trigger it only
> when '-[IDU]' is in CC.
We got to this point because several people put compiler-flags into $CC
(here's another special case to deal with).
Further reading:
https://www.gnu.org/prep/standards/html_node/Command-Variables.html
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature