diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-16 23:53:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-16 23:53:38 +0000 |
commit | ee600ab3d0c1fc84d08b4a5648b438b5c4aa3293 (patch) | |
tree | d7dcba09d8a66fad50f6d8bedc1e986386a0c700 /Build/source/utils/asymptote/config.guess | |
parent | 39cf0fb0ce267c4268d59c41f5386dc4d060de28 (diff) |
tl-update-auto
git-svn-id: svn://tug.org/texlive/trunk@55573 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/config.guess')
-rwxr-xr-x | Build/source/utils/asymptote/config.guess | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/config.guess b/Build/source/utils/asymptote/config.guess index 11fda528bc7..92bfc33e296 100755 --- a/Build/source/utils/asymptote/config.guess +++ b/Build/source/utils/asymptote/config.guess @@ -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" |