mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-26 12:07:06 +08:00
Update 01_build_src.sh
This commit is contained in:
parent
544d9428ee
commit
1f7afb86d7
@ -107,8 +107,8 @@ fi
|
|||||||
if [ ! -d "libgcc_install" ]; then
|
if [ ! -d "libgcc_install" ]; then
|
||||||
mkdir -pv libgcc_install && cd gcc-7.5.0
|
mkdir -pv libgcc_install && cd gcc-7.5.0
|
||||||
./contrib/download_prerequisites
|
./contrib/download_prerequisites
|
||||||
./configure --prefix=${glibc_install} --enable-languages=c,c++ --disable-multilib --disable-static --disable-libquadmath --enable-shared
|
./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 DESTDIR=${libgcc_install}
|
CFLAGS="-L${glibc_install}/lib $CFLAGS" make -j8 all-gcc && make -j8 && make install -j8
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user