aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-03-11 11:05:13 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2025-03-11 11:05:13 +0100
commit8e1efc3c864928e3447880caceddb6fa0d45bc46 (patch)
tree64a03931c32431cd778136f04ca4ac7cbb6ea3da
parent20e5aa9cc1519f871cce25dbfdc149d9d60da779 (diff)
downloadgcc-8e1efc3c864928e3447880caceddb6fa0d45bc46.zip
gcc-8e1efc3c864928e3447880caceddb6fa0d45bc46.tar.gz
gcc-8e1efc3c864928e3447880caceddb6fa0d45bc46.tar.bz2
Make libgcobol/configure.tgt more similar to other libraries
When we know libgcobol is unsupported on 32-bit arches, we should just say so in configure.tgt, the same way as on other targets. 2025-03-11 Jakub Jelinek <jakub@redhat.com> * configure.tgt: Only set LIBGCOBOL_SUPPORTED for lp64 multilibs of powerpc64le-*-linux* and x86_64-*-linux*. Handle i?86-*-linux* the same as x86_64-*-linux*.
-rw-r--r--libgcobol/configure.tgt10
1 files changed, 7 insertions, 3 deletions
diff --git a/libgcobol/configure.tgt b/libgcobol/configure.tgt
index a64539c..fe6f3da 100644
--- a/libgcobol/configure.tgt
+++ b/libgcobol/configure.tgt
@@ -30,12 +30,16 @@ case "${target}" in
LIBGCOBOL_SUPPORTED=yes
;;
powerpc64le-*-linux*)
- LIBGCOBOL_SUPPORTED=yes
+ if test x$ac_cv_sizeof_void_p = x8; then
+ LIBGCOBOL_SUPPORTED=yes
+ fi
;;
x86_64-*-linux*x32)
LIBGCOBOL_SUPPORTED=no
;;
- x86_64-*-linux*)
- LIBGCOBOL_SUPPORTED=yes
+ x86_64-*-linux* | i?86-*-linux*)
+ if test x$ac_cv_sizeof_void_p = x8; then
+ LIBGCOBOL_SUPPORTED=yes
+ fi
;;
esac