aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love1999-08-21 17:27:31 +0000
committerDave Love1999-08-21 17:27:31 +0000
commit3cbbbdc6fa47e0eededfcc79dfa49e41e9e08e7e (patch)
treeba67cabecfef4e63d5b1c8081eb5905ae39620e6 /src
parentccecdd38a2c9104ed9c93b2734e8136f422eaa8b (diff)
downloademacs-3cbbbdc6fa47e0eededfcc79dfa49e41e9e08e7e.tar.gz
emacs-3cbbbdc6fa47e0eededfcc79dfa49e41e9e08e7e.zip
(C_DEBUG_SWITCH): Use -g -O.
Diffstat (limited to 'src')
-rw-r--r--src/s/aix3-2-5.h11
-rw-r--r--src/s/aix4-1.h4
2 files changed, 10 insertions, 5 deletions
diff --git a/src/s/aix3-2-5.h b/src/s/aix3-2-5.h
index 7490b27abd9..04c8ccf44ad 100644
--- a/src/s/aix3-2-5.h
+++ b/src/s/aix3-2-5.h
@@ -5,12 +5,13 @@
5/* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" 5/* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
6 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because 6 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
7 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ 7 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */
8#ifndef __GNUC__ 8/* The above isn't generally true. If it occurs with some compiler
9 release, seek a fixed version, be it XLC or GCC. The XLC version
10 isn't tied to the OS version on AIX any more than elsewhere. XLC
11 (the IBM compiler) can use -g with -O. (-O3 is also a possibility
12 for the optimization level.) -- fx, after David Edelsohn. */
9#undef C_DEBUG_SWITCH 13#undef C_DEBUG_SWITCH
10#undef C_OPTIMIZE_SWITCH 14#define C_DEBUG_SWITCH -g -O
11#define C_DEBUG_SWITCH -O
12#define C_OPTIMIZE_SWITCH -O
13#endif
14 15
15/* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ 16/* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
16#define SIGNALS_VIA_CHARACTERS 17#define SIGNALS_VIA_CHARACTERS
diff --git a/src/s/aix4-1.h b/src/s/aix4-1.h
index ce9bf026df5..c365bc7d102 100644
--- a/src/s/aix4-1.h
+++ b/src/s/aix4-1.h
@@ -17,11 +17,15 @@
17/* David Edelsohn <dje@watson.ibm.com> says that this actually depends 17/* David Edelsohn <dje@watson.ibm.com> says that this actually depends
18 on the version of XLC, which can't be predicted from the system version. 18 on the version of XLC, which can't be predicted from the system version.
19 What a mess! */ 19 What a mess! */
20/* No more of a mess than other systems, GNU+GCC included. See
21 comments in aix3-2-5.h. -- fx */
22#if 0
20#ifndef __GNUC__ 23#ifndef __GNUC__
21#undef C_DEBUG_SWITCH 24#undef C_DEBUG_SWITCH
22#undef C_OPTIMIZE_SWITCH 25#undef C_OPTIMIZE_SWITCH
23#define C_DEBUG_SWITCH -g 26#define C_DEBUG_SWITCH -g
24#endif 27#endif
28#endif
25 29
26/* The X internationalization stuff is still broken in AIX 4.1, so 30/* The X internationalization stuff is still broken in AIX 4.1, so
27 don't #undef X11R5_INHIBIT_I18N 31 don't #undef X11R5_INHIBIT_I18N