diff options
| author | Glenn Morris | 2010-05-18 19:42:04 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-18 19:42:04 -0700 |
| commit | c1d0dcfd127b3f9742c31f794e2a6d886048bb1e (patch) | |
| tree | 1d070669e258b1bc4ea5507fb58149ca1d6ee685 /src/m | |
| parent | 7f34aec377794208fb4aecda44c49ff9f11e7d86 (diff) | |
| download | emacs-c1d0dcfd127b3f9742c31f794e2a6d886048bb1e.tar.gz emacs-c1d0dcfd127b3f9742c31f794e2a6d886048bb1e.zip | |
Set linker-related things with configure.
* configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
(ORDINARY_LINK): New AC_DEFINE.
(LIB_GCC): No need to set if ORDINARY_LINK.
* src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
(GNULIB_VAR): Remove.
(LIBES): Use LIB_GCC instead of GNULIB_VAR.
* src/m/ibms390x.h (LINKER):
* src/m/macppc.h (LINKER) [GNU_LINUX]:
* src/s/aix4-2.h (ORDINARY_LINK):
* src/s/cygwin.h (LINKER):
* src/s/darwin.h (ORDINARY_LINK):
* src/s/gnu.h (ORDINARY_LINK):
* src/s/netbsd.h (LINKER):
* src/s/usg5-4.h (ORDINARY_LINK):
Move to configure.
* msdos/sed1v2.inp (LD): Edit to $(CC).
(YMF_PASS_LDFLAGS): Edit to `flags'.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/ibms390x.h | 2 | ||||
| -rw-r--r-- | src/m/macppc.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index fda3007cb74..d6aa0c713c6 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -62,8 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 62 | /* On the 64 bit architecture, we can use 60 bits for addresses */ | 62 | /* On the 64 bit architecture, we can use 60 bits for addresses */ |
| 63 | #define VALBITS 60 | 63 | #define VALBITS 60 |
| 64 | 64 | ||
| 65 | #define LINKER $(CC) -nostdlib | ||
| 66 | |||
| 67 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 65 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
| 68 | #define XPNTR(a) XUINT (a) | 66 | #define XPNTR(a) XUINT (a) |
| 69 | 67 | ||
diff --git a/src/m/macppc.h b/src/m/macppc.h index b9dcf3bdc92..f348286030c 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -32,12 +32,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 32 | #define HAVE_TEXT_START | 32 | #define HAVE_TEXT_START |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| 35 | /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed | ||
| 36 | For MkLinux/LinuxPPC. */ | ||
| 37 | #ifdef GNU_LINUX | ||
| 38 | #define LINKER $(CC) -nostdlib | ||
| 39 | #endif | ||
| 40 | |||
| 41 | #ifdef _ARCH_PPC64 | 35 | #ifdef _ARCH_PPC64 |
| 42 | #ifndef _LP64 | 36 | #ifndef _LP64 |
| 43 | #define _LP64 | 37 | #define _LP64 |