aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-04-07 16:36:59 +0000
committerJim Blandy1993-04-07 16:36:59 +0000
commit9ffaad2e3849c3a7800db901ce9eeee778c7af07 (patch)
treebe646e5217de721ce0077701ef98d9f75c501697 /src
parentb7fc702ec2848cf07e7cc574a3f225d10f578d99 (diff)
downloademacs-9ffaad2e3849c3a7800db901ce9eeee778c7af07.tar.gz
emacs-9ffaad2e3849c3a7800db901ce9eeee778c7af07.zip
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
of defining LINKER to use cc. * s/aix3-1.h (LINKER): Don't use cc for linking command if we're using GCC. * s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
Diffstat (limited to 'src')
-rw-r--r--src/m/ibmrs6000.h8
-rw-r--r--src/s/aix3-1.h2
-rw-r--r--src/s/aix3-2.h5
3 files changed, 13 insertions, 2 deletions
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index 87fc82c66f6..921a4cc0b23 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -131,5 +131,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
131#undef NEED_SIOCTL 131#undef NEED_SIOCTL
132#undef NEED_PTEM_H 132#undef NEED_PTEM_H
133 133
134#undef LINKER 134#ifdef __GNUC__
135#define LINKER cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp 135# define ORDINARY_LINK
136#else
137# undef LINKER
138# define LINKER cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
139#endif
diff --git a/src/s/aix3-1.h b/src/s/aix3-1.h
index 83d65b384df..e4a4612a67a 100644
--- a/src/s/aix3-1.h
+++ b/src/s/aix3-1.h
@@ -209,7 +209,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
209 209
210/* #define ADDR_CORRECT(x) (x) */ 210/* #define ADDR_CORRECT(x) (x) */
211 211
212#ifndef __GNUC__
212#define LINKER cc 213#define LINKER cc
214#endif
213 215
214/* Prevent -lg from being used for debugging. Not needed. */ 216/* Prevent -lg from being used for debugging. Not needed. */
215 217
diff --git a/src/s/aix3-2.h b/src/s/aix3-2.h
index 504b1548aad..e5c9859b8d7 100644
--- a/src/s/aix3-2.h
+++ b/src/s/aix3-2.h
@@ -12,3 +12,8 @@
12#undef index 12#undef index
13 13
14#define HAVE_FSYNC 14#define HAVE_FSYNC
15
16/* With this defined, a gcc-compiled Emacs crashed in realloc under AIX
17 3.2, and a cc-compiled Emacs works with this undefined.
18 --karl@cs.umb.edu. */
19#undef SYSTEM_MALLOC