aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-12 00:18:02 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-12 00:18:02 +0000
commita7de1d67b2c57153732c394172a64d157c80988e (patch)
tree6f33295f40d6fea6726acc35bd904bdc7cb9d6e8 /Makefile
parent0e3642a58746a26f50709179a2bcb25f335e2dac (diff)
downloadexternal_llvm-a7de1d67b2c57153732c394172a64d157c80988e.zip
external_llvm-a7de1d67b2c57153732c394172a64d157c80988e.tar.gz
external_llvm-a7de1d67b2c57153732c394172a64d157c80988e.tar.bz2
build/Make: Define a TARGET_NATIVE_ARCH variable to be a bit more precise than
ARCH, which gets tested in many more contexts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a08818c..0ef6fb4 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,7 @@ cross-compile-build-tools:
$(MAKE) -C BuildTools \
BUILD_DIRS_ONLY=1 \
UNIVERSAL= \
- ARCH="$(ARCH)" \
+ TARGET_NATIVE_ARCH="$(TARGET_NATIVE_ARCH)" \
TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
ENABLE_PROFILING=$(ENABLE_PROFILING) \