From a5c0d0b9fd55de21ecb0f35f3d620dfcaa8fd8b0 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Tue, 13 Aug 2024 20:47:54 -0700 Subject: [PATCH] Update install script --- install-toolchain.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-toolchain.sh b/install-toolchain.sh index 8533b1e..ba29d22 100755 --- a/install-toolchain.sh +++ b/install-toolchain.sh @@ -23,7 +23,9 @@ rm -rf build-toolchain export PATH=$PREFIX/bin:$PATH # install clang -# (cd toolchain/lfi-clang && ./install-toolchain.sh $PREFIX/clang $TARGET_ARCH) +if [ "$TARGET_ARCH" != x86_64 ]; then + (cd toolchain/lfi-clang && ./install-toolchain.sh $PREFIX/clang $TARGET_ARCH) +fi # install gcc (cd toolchain/lfi-gcc && ./install-toolchain.sh $PREFIX/gcc $TARGET_ARCH)