install-deps.sh: support install gcc7 in xenial aarch64

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
This commit is contained in:
Yunchuan Wen 2018-06-07 15:51:31 +08:00
parent 95723e7d19
commit f92f256f45

View File

@ -74,8 +74,8 @@ EOF
$SUDO update-alternatives --auto gcc
# cmake uses the latter by default
$SUDO ln -nsf /usr/bin/gcc /usr/bin/x86_64-linux-gnu-gcc
$SUDO ln -nsf /usr/bin/g++ /usr/bin/x86_64-linux-gnu-g++
$SUDO ln -nsf /usr/bin/gcc /usr/bin/$(uname -m)-linux-gnu-gcc
$SUDO ln -nsf /usr/bin/g++ /usr/bin/$(uname -m)-linux-gnu-g++
}
function version_lt {