summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-10-10 08:35:04 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-10-10 08:35:04 -0700
commita4daeecfef2bf5822f2b514b2878391b90edf741 (patch)
treeb099f5110bc376c1b4b584112d569e00f870a0db /src/Makefile.in
parent4cf3ad3065d38ec51d6da12d50a83d96860f7db8 (diff)
downloademacs-a4daeecfef2bf5822f2b514b2878391b90edf741.tar.gz
Pass CFLAGS to the linker.
* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses. * lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed. * msdos/sed1v2.inp (PROFILING_LDFLAGS): * msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore. * src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line. (PROFILING_LDFLAGS): Remove, not needed anymore.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 8fd163bb185..76fc1e74f38 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -65,7 +65,6 @@ OTHER_FILES = @OTHER_FILES@
## Flags to pass for profiling builds
PROFILING_CFLAGS = @PROFILING_CFLAGS@
-PROFILING_LDFLAGS = @PROFILING_LDFLAGS@
## Flags to pass to the compiler to enable build warnings
C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@
@@ -114,7 +113,7 @@ LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@
## Flags to pass to ld only for temacs.
TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS)
-## $LDFLAGS $PROFILING_LDFLAGS, or empty if NS_IMPL_GNUSTEP (for some reason).
+## $LDFLAGS or empty if NS_IMPL_GNUSTEP (for some reason).
TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@
## Some systems define this to request special libraries.
@@ -648,7 +647,7 @@ buildobj.h: Makefile
temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj)
- $(CC) $(LD_FIRSTFLAG) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \
+ $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \
-o temacs $(START_FILES) $(obj) $(otherobj) $(LIBES)
## The following oldxmenu-related rules are only (possibly) used if