aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/bsd-5.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-07-21 14:37:14 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-07-21 14:37:14 -0700
commit6630a026139d10eba9665ba784b99d1cf03fe321 (patch)
tree140ebc4c19cfcd655c1a50e37eabdfa3e94bb8bb /gcc/config/mips/bsd-5.h
parent0e91606a8b28366de672ae1557a861c543518324 (diff)
downloadgcc-6630a026139d10eba9665ba784b99d1cf03fe321.zip
gcc-6630a026139d10eba9665ba784b99d1cf03fe321.tar.gz
gcc-6630a026139d10eba9665ba784b99d1cf03fe321.tar.bz2
(CPP_SPEC): Define LANGUAGE_ASSEMBLY, not
LANGUAGE_C, when compiling a .s file. From-SVN: r4959
Diffstat (limited to 'gcc/config/mips/bsd-5.h')
-rw-r--r--gcc/config/mips/bsd-5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/mips/bsd-5.h b/gcc/config/mips/bsd-5.h
index 7f8fd86..4c5c523 100644
--- a/gcc/config/mips/bsd-5.h
+++ b/gcc/config/mips/bsd-5.h
@@ -30,7 +30,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{.C: -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
%{.m: -D__LANGUAGE_OBJECTIVE_C -D_LANGUAGE_OBJECTIVE_C} \
%{.S: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
-%{!.S: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
+%{.s: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
+%{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"
#define LINK_SPEC "\
%{G*} \