diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-09 19:02:57 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-09 19:02:57 +0300 |
commit | 95b08f7b67d80ac2004b0f7ffad7f1a26a193f58 (patch) | |
tree | e95d7869432b10ff5e501e2a1e508bf3f4d2c5dc /config.guess | |
parent | 528867035383b29a901b6d6f13052abe8071b158 (diff) | |
download | egawk-95b08f7b67d80ac2004b0f7ffad7f1a26a193f58.tar.gz egawk-95b08f7b67d80ac2004b0f7ffad7f1a26a193f58.tar.bz2 egawk-95b08f7b67d80ac2004b0f7ffad7f1a26a193f58.zip |
Update aux files.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config.guess b/config.guess index 11fda528..92bfc33e 100755 --- a/config.guess +++ b/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" |