On Mon, Apr 24, 2017 at 12:26:19PM +0200, Mojca Miklavec wrote:

> In this particular case the compiler has already been consulted once with
> 
>     if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
>         (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
>         grep IS_64BIT_ARCH >/dev/null
> 
> to determine that this is not x86_64. Is it a problem to ask it once
> more? (And why?)

Alright, I give in.

> But in case you *really* want to avoid ever using CC_FOR_BUILD: why
> is it even called for Darwin?

CC_FOR_BUILD was introduced 15 years ago.  There are 11 instances of
it that I've been trying to get rid of ever since.  Have a look at the
lines after the line matching ^set_cc.  It's pure horror.

Cheers, Ben

Attachment: signature.asc
Description: Digital signature

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to