From abb999ad65f26a69db64c31b682c39d2be59071c Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 12 Feb 2019 02:17:49 -0800 Subject: Don't need to clear CFLAGS and LDFLAGS on bootstrap --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 07d42fa..bf885a7 100644 --- a/Makefile +++ b/Makefile @@ -62,11 +62,11 @@ qbe.o : $(srcdir)/qbe.c $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ $< .PHONY: stage2 stage2: cc cc-qbe @mkdir -p $@ - $(MAKE) -C $@ -f ../$(srcdir)/Makefile srcdir=../$(srcdir) stagedeps='../cc ../cc-qbe' CC=../cc CFLAGS= LDFLAGS= + $(MAKE) -C $@ -f ../$(srcdir)/Makefile srcdir=../$(srcdir) stagedeps='../cc ../cc-qbe' CC=../cc .PHONY: stage3 stage3: stage2 @mkdir -p $@ - $(MAKE) -C $@ -f ../$(srcdir)/Makefile srcdir=../$(srcdir) stagedeps='../stage2/cc ../stage2/cc-qbe' CC=../stage2/cc CFLAGS= LDFLAGS= + $(MAKE) -C $@ -f ../$(srcdir)/Makefile srcdir=../$(srcdir) stagedeps='../stage2/cc ../stage2/cc-qbe' CC=../stage2/cc .PHONY: bootstrap bootstrap: stage2 stage3 -- cgit v1.2.3