summaryrefslogtreecommitdiff
path: root/src/s/aix3-2.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-03-02 03:19:12 +0000
committerKarl Heuer <kwzh@gnu.org>1994-03-02 03:19:12 +0000
commitf2ac12d570e415ac054846cb4b9e74c6acc7b00d (patch)
tree7c70bca95a29101b640d734521658241a44d77f6 /src/s/aix3-2.h
parent47c64747da0c7f135422425ddd5e10c5852fff7c (diff)
downloademacs-f2ac12d570e415ac054846cb4b9e74c6acc7b00d.tar.gz
Use -g with the native compiler.
Diffstat (limited to 'src/s/aix3-2.h')
-rw-r--r--src/s/aix3-2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/s/aix3-2.h b/src/s/aix3-2.h
index eb0fa5ddc85..46b0ed560ed 100644
--- a/src/s/aix3-2.h
+++ b/src/s/aix3-2.h
@@ -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