diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-12 02:17:49 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-12 02:17:49 -0800 |
commit | abb999ad65f26a69db64c31b682c39d2be59071c (patch) | |
tree | 67fd00a0f4b8f52568b505c86a8603351462b929 /Makefile | |
parent | 51c80e4bb6d8104bb22a68c8a93134f6c96fd815 (diff) |
Don't need to clear CFLAGS and LDFLAGS on bootstrap
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |