diff --git a/Makefile b/Makefile index ca3737a682..ce16fe650e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -export TARGET?=$(shell rustc -Z unstable-options --print target-spec-json | grep llvm-target | cut -d '"' -f4) +ifndef TARGET + export TARGET:=$(shell rustc -Z unstable-options --print target-spec-json | grep llvm-target | cut -d '"' -f4) +endif CARGO?=cargo CARGO_TEST?=$(CARGO)