From: R Veera Kumar Date: Sat, 11 Jun 2022 06:51:11 +0000 (+0530) Subject: Removed HOST variable and --host option to configure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df19af7a4977dd34bf236e46a9d6592f3129a99b;p=dev-env-setup.git Removed HOST variable and --host option to configure --- diff --git a/binutils-gdb-install b/binutils-gdb-install index 7e645f4..d84b88f 100755 --- a/binutils-gdb-install +++ b/binutils-gdb-install @@ -26,22 +26,14 @@ fi ## Build binutils-gdb -# Set HOST triplet - -if [ "`arch`" = "x86_64" ]; then - export HOST="x86_64-pc-linux-gnu" -elif [ "`arch`" = "ppc64le" ]; then - export HOST="powerpc64le-linux-gnu" -fi - cd binutils-gdb git checkout svp64 mkdir ../binutils-gdb-build cd ../binutils-gdb-build AR=ar AS=as ../binutils-gdb/configure --prefix=/usr/local/binutils-gdb \ ---host=${HOST} --target=powerpc64le-linux-gnu --disable-nls --enable-shared \ ---enable-64-bit-bfd --disable-multilib --enable-ld=default --enable-gold=yes \ ---enable-plugins --enable-threads + --target=powerpc64le-linux-gnu --disable-nls --enable-shared \ + --enable-64-bit-bfd --disable-multilib --enable-ld=default --enable-gold=yes \ + --enable-plugins --enable-threads make -j$(nproc) # make check |& tee chk.log make install