summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1991-06-06 23:56:57 +0000
committerJohn Carr <jfc@mit.edu>1991-06-06 23:56:57 +0000
commitf25bf5f893b60485d5fd08d10764e3fba5de96aa (patch)
tree1f8cc8c4368bc9d331fd8def8d125e0a9167d94c /src/config
parent3730b4f2a4f15e6ccb3f24be160f012c5a21b7cb (diff)
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
Diffstat (limited to 'src/config')
-rw-r--r--src/config/site.def13
1 files 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