get the CROSS macro into gcc's flags

This commit is contained in:
K. Richard Pixley 1992-07-07 21:48:41 +00:00
parent 6a2d7603bb
commit c0bbfd27c6

View File

@ -165,21 +165,21 @@ OBJS = \
#### host, target, and site specific Makefile frags come in here.
all: as.new
(cd doc ; $(MAKE) all)
@(cd doc ; $(MAKE) all)
info:
(cd doc ; $(MAKE) info "MAKEINFO=$(MAKEINFO)")
@(cd doc ; $(MAKE) info "MAKEINFO=$(MAKEINFO)")
install-info:
(cd doc ; $(MAKE) install-info)
@(cd doc ; $(MAKE) install-info)
clean-info:
(cd doc ; $(MAKE) clean-info)
@(cd doc ; $(MAKE) clean-info)
# Now figure out from those variables how to compile and link.
# This is the variable actually used when we compile.
ALL_CFLAGS = $(MINUS_G) $(INTERNAL_CFLAGS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
ALL_CFLAGS = $(MINUS_G) $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
# How to link with both our special library facilities
# and the system's installed libraries.
@ -313,10 +313,10 @@ targ-cpu.o : targ-cpu.c targ-env.h obj-format.h \
doc: $(srcdir)/as.info
$(srcdir)/as.info: $(srcdir)/doc/as.texinfo
(cd doc; make as.info; mv as.info $srcdir)
@(cd doc; make as.info; mv as.info $srcdir)
clean:
(cd doc ; $(MAKE) clean)
@(cd doc ; $(MAKE) clean)
-rm -f $(STAGESTUFF) core
# Like clean but also delete the links made to configure gas.