mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
* config.guess (x86_64:Linux:*:*): Detect x32 ABI. This is
currently only supported when CC_FOR_BUILD is available, as that ultimately governs what the native ABI is. Signed-off-by: Ben Elliston <bje@air.net.au>
This commit is contained in:
parent
e78c96e528
commit
bd1cbeed14
@ -1,3 +1,9 @@
|
||||
2020-06-15 Jessica Clarke <jrtc27@jrtc27.com>
|
||||
|
||||
* config.guess (x86_64:Linux:*:*): Detect x32 ABI. This is
|
||||
currently only supported when CC_FOR_BUILD is available, as that
|
||||
ultimately governs what the native ABI is.
|
||||
|
||||
2020-05-04 Emery Hemingway <ehmry@posteo.net>
|
||||
|
||||
* config.sub (-genode*): New.
|
||||
|
12
config.guess
vendored
12
config.guess
vendored
@ -1095,7 +1095,17 @@ EOF
|
||||
echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
|
||||
exit ;;
|
||||
x86_64:Linux:*:*)
|
||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
|
||||
set_cc_for_build
|
||||
LIBCABI=$LIBC
|
||||
if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
|
||||
if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
|
||||
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||
grep IS_X32 >/dev/null
|
||||
then
|
||||
LIBCABI="$LIBC"x32
|
||||
fi
|
||||
fi
|
||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBCABI"
|
||||
exit ;;
|
||||
xtensa*:Linux:*:*)
|
||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||
|
Loading…
x
Reference in New Issue
Block a user