llvm: rename ARCH variable to LLVM_ARCH, because its already used

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-22 09:06:16 +02:00
parent ffb99d72b4
commit d343ba9e88

View File

@ -26,9 +26,9 @@
strip_lto strip_lto
if [ "$TARGET_ARCH" = i386 ]; then if [ "$TARGET_ARCH" = i386 ]; then
ARCH=x86 LLVM_ARCH=x86
elif [ "$TARGET_ARCH" = x86_64 ]; then elif [ "$TARGET_ARCH" = x86_64 ]; then
ARCH=x86_64 LLVM_ARCH=x86_64
fi fi
LLVM_DIR=`ls -d $BUILD/llvm-[0-9]*` LLVM_DIR=`ls -d $BUILD/llvm-[0-9]*`
@ -56,7 +56,7 @@ mkdir -p .build-target && cd .build-target
--enable-shared \ --enable-shared \
--enable-embed-stdcxx \ --enable-embed-stdcxx \
--enable-timestamps \ --enable-timestamps \
--enable-targets=$ARCH \ --enable-targets=$LLVM_ARCH \
TBLGEN="$ROOT/$TOOLCHAIN/bin/tblgen" \ TBLGEN="$ROOT/$TOOLCHAIN/bin/tblgen" \
TCLSH="$ROOT/$TOOLCHAIN/bin/tclsh" \ TCLSH="$ROOT/$TOOLCHAIN/bin/tclsh" \