[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config.guess returns bogus triple on Linux/x86_64 bi-arch system
From: |
Bruno Haible |
Subject: |
Re: config.guess returns bogus triple on Linux/x86_64 bi-arch system |
Date: |
Sun, 08 May 2022 22:59:13 +0200 |
Dmitry V. Levin wrote:
> I'd prefer to be on the safe side and have ABI=64 assigned by default
> somewhere before the eval.
You're right, that is safer.
> > + #endif
> > + #endif
> > +EOF
> > + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' |
> > sed 's, ,,g'`
> > + eval "$cc_set_abi"
> > + case "$ABI" in
>
> commit 9a37c126ce64403b83e9cfe72e29c26ab3a209b3 claims that quotes
> in case commands are redundant.
Oh, I forgot that your preferred habits differ from my preferred habits.
Amended patch (again tested) is attached.
0001-config.guess-x86_64-Linux-Detect-32-bit-ABI.patch
Description: Text Data