minor fixes in build-gcc script

This commit is contained in:
Mikahil Nacharov 2020-01-22 16:27:27 +05:00
parent d6cd202860
commit e357c6feaf
No known key found for this signature in database
GPG Key ID: EB5D172F4DCAAB61

View File

@ -32,8 +32,8 @@ $SUDO make install
popd
popd
$SUDO ln -sf /usr/local/bin/gcc /usr/local/bin/gcc-${GCC_GCC_SOURCES_VERSION_SHORT}
$SUDO ln -sf /usr/local/bin/g++ /usr/local/bin/g++-${GCC_GCC_SOURCES_VERSION_SHORT}
$SUDO ln -sf /usr/local/bin/gcc /usr/local/bin/gcc-${GCC_VERSION_SHORT}
$SUDO ln -sf /usr/local/bin/g++ /usr/local/bin/g++-${GCC_VERSION_SHORT}
$SUDO ln -sf /usr/local/bin/gcc /usr/local/bin/cc
$SUDO ln -sf /usr/local/bin/g++ /usr/local/bin/c++
@ -43,5 +43,5 @@ $SUDO ldconfig
hash gcc g++
gcc --version
export CC=gcc
export CXX=g++
export CC=gcc-${GCC_VERSION_SHORT}
export CXX=g++-${GCC_VERSION_SHORT}