From 38d1ec703409671c7dd92d565543330c4798a9d4 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 12 Nov 1993 16:42:48 +0000 Subject: [PATCH] Changes to prevent use of -std on Ultrix. --- v7/src/microcode/m/mips.h | 7 ++++++- v7/src/microcode/s/ultrix.h | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/m/mips.h b/v7/src/microcode/m/mips.h index b819be659..313972fdf 100644 --- a/v7/src/microcode/m/mips.h +++ b/v7/src/microcode/m/mips.h @@ -1,7 +1,7 @@ /* -*-C-*- Machine file for MIPS computers. -$Id: mips.h,v 1.8 1993/06/28 02:29:40 cph Exp $ +$Id: mips.h,v 1.9 1993/11/12 16:42:40 cph Exp $ Copyright (c) 1989-1992 Massachusetts Institute of Technology @@ -44,7 +44,12 @@ MIT in each case. */ /* The "-std" switch says to turn on ANSI features and compatible extensions. The "-Olimit" switch is needed because some procedures are larger than the built-in optimization limit. */ +#ifdef _ULTRIX +/* Ultrix doesn't support -std */ +#define C_SWITCH_MACHINE -Olimit 2000 +#else #define C_SWITCH_MACHINE -std -Olimit 2000 +#endif #else #define C_SWITCH_MACHINE #endif diff --git a/v7/src/microcode/s/ultrix.h b/v7/src/microcode/s/ultrix.h index 7179bf195..0f752f09e 100644 --- a/v7/src/microcode/s/ultrix.h +++ b/v7/src/microcode/s/ultrix.h @@ -1,7 +1,7 @@ /* -*-C-*- System file for Ultrix -$Id: ultrix.h,v 1.14 1993/06/24 07:31:32 gjr Exp $ +$Id: ultrix.h,v 1.15 1993/11/12 16:42:48 cph Exp $ Copyright (c) 1989-1993 Massachusetts Institute of Technology @@ -39,6 +39,7 @@ MIT in each case. */ /* This is in mips.h for some reason. */ /* #define LIB_DEBUG */ +#define _ULTRIX #define C_SWITCH_SYSTEM -D_ULTRIX -YPOSIX #define LD_SWITCH_SYSTEM -YPOSIX -- 2.25.1