diff options
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgcc/configure b/libgcc/configure index 7e177edb288..092e20ee633 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -4317,9 +4317,11 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5 $as_echo "$libgcc_cv_cfi" >&6; } -# Check 32bit or 64bit +# Check 32bit or 64bit. In the case of MIPS, this really determines the +# word size rather than the address size. cat > conftest.c <<EOF -#if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) +#if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \ + || defined(__mips64) host_address=64 #else host_address=32 |