build: pass RUSTFLAGS to the compiler

We can use this for preliminary testing of the GC using `make RUSTFLAGS=--gc`
This commit is contained in:
Brian Anderson 2012-05-19 18:27:12 -07:00
parent 28d0ce9a8b
commit c8426d1e78

View file

@ -68,7 +68,7 @@ ifneq ($(wildcard $(NON_HOST_TRIPLES)),)
CFG_INFO := $(info cfg: non host triples $(NON_HOST_TRIPLES))
endif
CFG_RUSTC_FLAGS :=
CFG_RUSTC_FLAGS := $(RUSTFLAGS)
CFG_GCCISH_CFLAGS :=
CFG_GCCISH_LINK_FLAGS :=