From f2ac12d570e415ac054846cb4b9e74c6acc7b00d Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 2 Mar 1994 03:19:12 +0000 Subject: [PATCH] Use -g with the native compiler. --- src/s/aix3-2.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5