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/s/gnu.h | |
| 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/s/gnu.h')
| -rw-r--r-- | src/s/gnu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h index cb4c4a9d807..4567f4e9f4f 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -29,8 +29,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 29 | 29 | ||
| 30 | #define SIGNALS_VIA_CHARACTERS | 30 | #define SIGNALS_VIA_CHARACTERS |
| 31 | 31 | ||
| 32 | /* GNU needs its own crt0, and libc defines data_start. */ | 32 | /* libc defines data_start. */ |
| 33 | #define ORDINARY_LINK | ||
| 34 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) | 33 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) |
| 35 | 34 | ||
| 36 | /* Some losing code fails to include this and then assumes | 35 | /* Some losing code fails to include this and then assumes |