cross-build/Make: Update cross build to properly forward ARCH and
[oota-llvm.git] / Makefile
index cc47f0d9cf90464a43205306bbfdb2472b80e38c..f2044fa5ca945de939b44832a2917b438619f15e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -126,6 +126,8 @@ cross-compile-build-tools:
         $(MAKE) -C BuildTools \
          BUILD_DIRS_ONLY=1 \
          UNIVERSAL= \
+         ARCH="$(ARCH)" \
+         TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
          ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
          ENABLE_PROFILING=$(ENABLE_PROFILING) \
          ENABLE_COVERAGE=$(ENABLE_COVERAGE) \