From 1f7afb86d72d7ad9390781d0235e5a2b574f74d0 Mon Sep 17 00:00:00 2001 From: superconvert <48017165+superconvert@users.noreply.github.com> Date: Wed, 27 Jul 2022 00:50:27 +0800 Subject: [PATCH] Update 01_build_src.sh --- 01_build_src.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01_build_src.sh b/01_build_src.sh index 24ab7f2..b252b7d 100644 --- a/01_build_src.sh +++ b/01_build_src.sh @@ -107,8 +107,8 @@ fi if [ ! -d "libgcc_install" ]; then mkdir -pv libgcc_install && cd gcc-7.5.0 ./contrib/download_prerequisites - ./configure --prefix=${glibc_install} --enable-languages=c,c++ --disable-multilib --disable-static --disable-libquadmath --enable-shared - CFLAGS="-L${glibc_install}/lib $CFLAGS" make -j8 all-gcc && make -j8 && make install -j8 DESTDIR=${libgcc_install} + ./configure --prefix=${libgcc_install} --enable-languages=c,c++ --disable-multilib --disable-static --disable-libquadmath --enable-shared + CFLAGS="-L${glibc_install}/lib $CFLAGS" make -j8 all-gcc && make -j8 && make install -j8 cd .. fi