From f73b188b56b6f065b3fa70f14d74b761eeaca072 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 26 Jul 1989 04:16:35 +0000 Subject: [PATCH] Add new options SUPPRESS_C_OPTIMIZER and SUPPRESS_C_DEBUGGING to control the -O and -g flags to the compiler, and the associated -lg flag to the linker. --- v7/src/microcode/unxutl/cf-dist.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/unxutl/cf-dist.h b/v7/src/microcode/unxutl/cf-dist.h index 6a6115ca2..189af1d82 100644 --- a/v7/src/microcode/unxutl/cf-dist.h +++ b/v7/src/microcode/unxutl/cf-dist.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/unxutl/Attic/cf-dist.h,v 1.3 1989/07/26 03:52:34 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/unxutl/Attic/cf-dist.h,v 1.4 1989/07/26 04:16:35 cph Rel $ Copyright (c) 1989 Massachusetts Institute of Technology @@ -59,3 +59,13 @@ MIT in each case. */ */ #define C_SWITCH_FEATURES -DCOMPILE_HISTORY + +/* The following two switches are mutually exclusive for most C compilers. + An exception is the GNU C compiler. */ + +/* If defined, this prevents the C compiler from running its optimizer. */ +/* #define SUPPRESS_C_OPTIMIZER */ + +/* If defined, this prevents the C compiler from + generating debugging information. */ +#define SUPPRESS_C_DEBUGGING -- 2.25.1