changeset 6127:df18a19a047d

Use -g with the native compiler.
author Karl Heuer <kwzh@gnu.org>
date Wed, 02 Mar 1994 03:19:12 +0000
parents 47d2f8f84309
children 9b72e6a8d9b3
files src/s/aix3-2.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/aix3-2.h	Wed Mar 02 00:55:05 1994 +0000
+++ b/src/s/aix3-2.h	Wed Mar 02 03:19:12 1994 +0000
@@ -21,3 +21,11 @@
    3.2, and a cc-compiled Emacs works with this undefined.
    --karl@cs.umb.edu.  */
 #undef SYSTEM_MALLOC
+
+/* 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 */
+#ifndef __GNUC__
+#define C_SWITCH_DEBUG -g
+#define C_SWITCH_OPTIMIZE
+#endif