diff options
author | Steve Ellcey <sje@cup.hp.com> | 2005-10-10 23:45:18 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2005-10-10 23:45:18 +0000 |
commit | dbad5e72801b379ee359c7355e3137161c6ed11f (patch) | |
tree | 3eced05fb9b922b00f8ee805e04e6ccf05dd2630 /gcc/configure.ac | |
parent | 5e9edb0f6f337facf312ae8cc0515a7ef057eead (diff) | |
download | gcc-dbad5e72801b379ee359c7355e3137161c6ed11f.zip gcc-dbad5e72801b379ee359c7355e3137161c6ed11f.tar.gz gcc-dbad5e72801b379ee359c7355e3137161c6ed11f.tar.bz2 |
re PR target/12098 (gcc build fails without gas on ia64-hpux: error: invalid switch '-x')
PR target/12098
* configure.ac: Move gas check from mips specific case to common case.
Do check for GNU as for mips*-*-* and *-*-hpux* targets.
* configure: Regenerate
* doc/install.texi: Update.
From-SVN: r105200
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 960d14c..7070c11 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2772,7 +2772,14 @@ LCF0: then target_cpu_default=MASK_EXPLICIT_RELOCS else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS" fi]) + ;; +esac + +# Mips and HP-UX need the GNU assembler. +# Linux on IA64 might be able to use the Intel assembler. +case "$target" in + mips*-*-* | *-*-hpux* ) if test x$gas_flag = xyes \ || test x"$host" != x"$build" \ || test ! -x "$gcc_cv_as" \ @@ -2784,6 +2791,7 @@ LCF0: fi ;; esac + # ??? Not all targets support dwarf2 debug_line, even within a version # of gas. Moreover, we need to emit a valid instruction to trigger any # info to the output file. So, as supported targets are added to gas 2.11, |