changeset 27678:c370bafa362e

Define C_DEBUG_SWITCH for non-gcc.
author Dave Love <fx@gnu.org>
date Sat, 12 Feb 2000 17:03:54 +0000
parents 566fd2a966aa
children 3a341ccd370c
files src/s/aix3-2.h src/s/osf1.h
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/aix3-2.h	Sat Feb 12 16:57:46 2000 +0000
+++ b/src/s/aix3-2.h	Sat Feb 12 17:03:54 2000 +0000
@@ -36,9 +36,9 @@
 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
    because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
    "cc -g" crashes. Go figure.  --floppy@merlin.mit.edu */
+/* See comments about this in aix3-2-5.h.  -- fx */
 #ifndef __GNUC__
-#define C_SWITCH_DEBUG -g
-#define C_SWITCH_OPTIMIZE
+#define C_DEBUG_SWITCH -g -O
 #endif
 
 /* The character-composition stuff is broken in X11R5.
--- a/src/s/osf1.h	Sat Feb 12 16:57:46 2000 +0000
+++ b/src/s/osf1.h	Sat Feb 12 17:03:54 2000 +0000
@@ -28,3 +28,8 @@
 
 /* Specify the type that the 3rd arg of `accept' points to.  */
 #define SOCKLEN_TYPE int
+
+#ifndef __GNUC__
+/* Optimize, inaccurate debugging.  */
+#define C_DEBUG_SWITCH -g3
+#endif