diff src/s/aix3-2.h @ 6127:df18a19a047d

Use -g with the native compiler.
author Karl Heuer <kwzh@gnu.org>
date Wed, 02 Mar 1994 03:19:12 +0000
parents 2cc554082ffc
children 64fe0cc0138e
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