diff options
author | David S. Miller <davem@davemloft.net> | 2011-11-03 06:07:39 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2011-11-02 23:07:39 -0700 |
commit | d2a7d041b640b8a28d82de1155a5b166d1682d48 (patch) | |
tree | 9a17b80ba28414db1fbe3aceb5eaaecf1b619dda /libgcc/configure | |
parent | d8c866e57c8fa49fa506f3dd2ff146aeab3c92a4 (diff) | |
download | gcc-d2a7d041b640b8a28d82de1155a5b166d1682d48.zip gcc-d2a7d041b640b8a28d82de1155a5b166d1682d48.tar.gz gcc-d2a7d041b640b8a28d82de1155a5b166d1682d48.tar.bz2 |
Fix multilib build of libgcc on Linux/sparc.
* configure.ac: Set host_address on sparc too.
* configure: Regenerate.
* config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
based upon host_address.
* config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
From-SVN: r180818
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgcc/configure b/libgcc/configure index 0d91645..0f18037 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -4609,11 +4609,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5 $as_echo "$libgcc_cv_cfi" >&6; } -# Check 32bit or 64bit for x86. +# Check 32bit or 64bit for x86 and sparc. case ${host} in -i?86*-*-* | x86_64*-*-*) +i?86*-*-* | x86_64*-*-* | sparc*-*-*) cat > conftest.c <<EOF -#ifdef __x86_64__ +#if defined(__x86_64__) || \ + (defined(__sparc__) && defined(__arch64__)) host_address=64 #else host_address=32 |