Commit b61f39ad by Dave Love

(LDFLAGS): Set from BOOT_LDFLAGS.

(F771_LDFLAGS): Variable dispensed with.

From-SVN: r22244
parent 3f3726a3
...@@ -134,12 +134,11 @@ ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) -W ...@@ -134,12 +134,11 @@ ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) -W
# Likewise. # Likewise.
ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS) ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
# f771 is so big, need to tell linker on m68k-next-nextstep* to make enough # We should be compiling with the built compiler, for which
# room for it. On AIX, linking f771 overflows the linker TOC; # BOOT_LDFLAGS is appropriate. (Formerly we had a separate
# `-bbigtoc' is appropriate for the linker on AIX 4.1 and above. # F771_LDFLAGS, but the ld flags can be taken care of by the target
F771_LDFLAGS = `case "${target}" in\ # configuration files in egcs.)
m68k-next-nextstep*) echo -segaddr __DATA 6000000;;\ LDFLAGS=$(BOOT_LDFLAGS)
*-*-aix[4-9]*) \`$(CC) --print-prog-name=ld\` -v 2>&1 | grep BFD >/dev/null || echo -Wl,-bbigtoc;; esac`
# Even if ALLOCA is set, don't use it if compiling with GCC. # Even if ALLOCA is set, don't use it if compiling with GCC.
...@@ -213,8 +212,7 @@ OBJDEPS = ../stamp-objlist ...@@ -213,8 +212,7 @@ OBJDEPS = ../stamp-objlist
compiler: ../f771$(exeext) compiler: ../f771$(exeext)
../f771$(exeext): $(P) $(F77_OBJS) $(OBJDEPS) $(LIBDEPS) ../f771$(exeext): $(P) $(F77_OBJS) $(OBJDEPS) $(LIBDEPS)
rm -f f771$(exeext) rm -f f771$(exeext)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) $(F771_LDFLAGS) -o $@ \ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(F77_OBJS) $(OBJS) $(LIBS)
$(F77_OBJS) $(OBJS) $(LIBS)
Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
cd ..; $(SHELL) config.status cd ..; $(SHELL) config.status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment