From: Karl Heuer Date: Wed, 2 Mar 1994 03:19:12 +0000 (+0000) Subject: Use -g with the native compiler. X-Git-Tag: emacs-19.34~9725 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f2ac12d570e415ac054846cb4b9e74c6acc7b00d;p=emacs.git Use -g with the native compiler. --- 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