aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-12 02:17:49 -0800
committerMichael Forney <mforney@mforney.org>2019-02-12 02:17:49 -0800
commitabb999ad65f26a69db64c31b682c39d2be59071c (patch)
tree67fd00a0f4b8f52568b505c86a8603351462b929 /Makefile
parent51c80e4bb6d8104bb22a68c8a93134f6c96fd815 (diff)
Don't need to clear CFLAGS and LDFLAGS on bootstrap
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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