From dbad5e72801b379ee359c7355e3137161c6ed11f Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Mon, 10 Oct 2005 23:45:18 +0000 Subject: 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 --- gcc/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/configure.ac') 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, -- cgit v1.1