Changes to prevent use of -std on Ultrix.
authorChris Hanson <org/chris-hanson/cph>
Fri, 12 Nov 1993 16:42:48 +0000 (16:42 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 12 Nov 1993 16:42:48 +0000 (16:42 +0000)
v7/src/microcode/m/mips.h
v7/src/microcode/s/ultrix.h

index b819be6591b1c4d984a52d9ef2ecfe50afc8fd82..313972fdf84a0f414d441d02517f70afb85d7430 100644 (file)
@@ -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
index 7179bf1959a80a50d5041f687397e49f1ebf8a2a..0f752f09e5477c7994f74b81d63e78b959cfc1c3 100644 (file)
@@ -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