aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/D65various-compiler-support30
1 files changed, 15 insertions, 15 deletions
diff --git a/examples/D65various-compiler-support b/examples/D65various-compiler-support
index bc86ccd..13eaac0 100644
--- a/examples/D65various-compiler-support
+++ b/examples/D65various-compiler-support
@@ -26,26 +26,26 @@ case "${CHOOSE_COMPILER}" in
clang_package=clang-"${use_clang_version}"
newcc=/usr/bin/clang-"${use_clang_version}"
newcxx=/usr/bin/clang++-"${use_clang_version}"
- ;;
+ ;;
gcc-*)
use_gcc_version=$(echo ${CHOOSE_COMPILER} | sed -e s/gcc-//)
- gxx_package=g++-"${use_gcc_version}"
- newcc=/usr/bin/"${CHOOSE_COMPILER}"
- newcxx=/usr/bin/g++-"${use_gcc_version}"
- ;;
+ gxx_package=g++-"${use_gcc_version}"
+ newcc=/usr/bin/"${CHOOSE_COMPILER}"
+ newcxx=/usr/bin/g++-"${use_gcc_version}"
+ ;;
tcc)
- newcc=/usr/bin/"${CHOOSE_COMPILER}"
- newcxx=/bin/false
- not_gcc_compat=1
- ;;
+ newcc=/usr/bin/"${CHOOSE_COMPILER}"
+ newcxx=/bin/false
+ not_gcc_compat=1
+ ;;
pcc)
- newcc=/usr/bin/"${CHOOSE_COMPILER}"
- newcxx=/bin/false
- not_gcc_compat=1
- ;;
+ newcc=/usr/bin/"${CHOOSE_COMPILER}"
+ newcxx=/bin/false
+ not_gcc_compat=1
+ ;;
*)
- exit 0
- ;;
+ exit 0
+ ;;
esac
apt-get -y install "${CHOOSE_COMPILER}" ${gxx_package} ${clang_package}