From f25bf5f893b60485d5fd08d10764e3fba5de96aa Mon Sep 17 00:00:00 2001 From: John Carr Date: Thu, 6 Jun 1991 23:56:57 +0000 Subject: [PATCH] For release, optimize by default. RT and VAX use -I$(TOP)/include/stdc-incl git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2163 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/site.def | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/config/site.def b/src/config/site.def index f3f1d436d..d6de0e626 100644 --- a/src/config/site.def +++ b/src/config/site.def @@ -117,12 +117,9 @@ #endif #endif -#ifndef DefaultCDebugFlags -#if HasGcc +/* With gcc, use -g -O. Otherwise use the default (-O). */ +#if !defined(DefaultCDebugFlags) && HasGcc #define DefaultCDebugFlags OptimizedCDebugFlags DebuggableCDebugFlags -#else -#define DefaultCDebugFlags DebuggableCDebugFlags -#endif #endif #if HasNdbm @@ -149,6 +146,7 @@ #define ZephyrLibs -lzephyr #endif +#ifndef PS2Architecture /* define IsodeLib to be what you pass to the loader to find the ISODE library. This might want to be -lisode if you have it installed. IsodeDir is put into the 'make' variable ISODE. */ @@ -159,6 +157,7 @@ /* Re-define PepsyCmd if pepsy isn't in your search path. */ #define PepsyCmd $(ISODE)/@sys/bin/pepsy +#endif #define UseImakeInstalled /* -- turn on if you have imake installed */ #define UseMakedependInstalled /* -- turn on if you have makedepend installed */ @@ -198,3 +197,7 @@ #define AthenaEnv YES /* Define this if you are in the athena environment. No one else should define this. */ + +#if defined(VaxArchitecture) || defined(RtArchitecture) +#define STDCTopIncludes -I$(TOP)/include/stdc-incl +#endif -- 2.26.2