aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2010-09-21 01:35:37 +0300
committerDan Nicolaescu <[email protected]>2010-09-21 01:35:37 +0300
commitf5ea3ba7ccf9174cbb1c115cf185632cfe44f655 (patch)
tree8f1268550b6d437a785f7aea69ae0317a3bc0178 /src
parent984edd2215e74d54d387c7e8fa2fd14ee43ff5f0 (diff)
Link temacs using $(CC) not $(LD).
* configure.in (LINKER): Rename to LD_FIRSTFLAG, do not include $(CC). * src/Makefile.in (temacs): Link using $(CC) not $(LD). (LD_FIRSTFLAG): Define using autoconf. (LD): Remove.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index d91b95d86e..7fe3fe0ae8 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -35,6 +35,7 @@ CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
+LD_FIRSTFLAG=@LD_FIRSTFLAG@
EXEEXT = @EXEEXT@
version = @version@
# Substitute an assignment for the MAKE variable, because
@@ -124,8 +125,6 @@ LIBS_SYSTEM=@LIBS_SYSTEM@
## Where to find libgcc.a, if using gcc and necessary.
LIB_GCC=@LIB_GCC@
-LD=@LINKER@
-
## May use $CRT_DIR.
LIB_STANDARD=@LIB_STANDARD@
@@ -646,7 +645,7 @@ buildobj.h: Makefile
temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj}
- $(LD) ${TEMACS_LDFLAGS} ${TEMACS_LDFLAGS2} \
+ $(CC) $(LD_FIRSTFLAG) ${TEMACS_LDFLAGS} ${TEMACS_LDFLAGS2} \
-o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES}
## The following oldxmenu-related rules are only (possibly) used if