mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
llvm: rename ARCH variable to LLVM_ARCH, because its already used
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
strip_lto
|
||||
|
||||
if [ "$TARGET_ARCH" = i386 ]; then
|
||||
ARCH=x86
|
||||
LLVM_ARCH=x86
|
||||
elif [ "$TARGET_ARCH" = x86_64 ]; then
|
||||
ARCH=x86_64
|
||||
LLVM_ARCH=x86_64
|
||||
fi
|
||||
|
||||
LLVM_DIR=`ls -d $BUILD/llvm-[0-9]*`
|
||||
@@ -56,7 +56,7 @@ mkdir -p .build-target && cd .build-target
|
||||
--enable-shared \
|
||||
--enable-embed-stdcxx \
|
||||
--enable-timestamps \
|
||||
--enable-targets=$ARCH \
|
||||
--enable-targets=$LLVM_ARCH \
|
||||
|
||||
TBLGEN="$ROOT/$TOOLCHAIN/bin/tblgen" \
|
||||
TCLSH="$ROOT/$TOOLCHAIN/bin/tclsh" \
|
||||
|
||||
Reference in New Issue
Block a user