aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/release/test-release.sh22
1 files changed, 2 insertions, 20 deletions
diff --git a/utils/release/test-release.sh b/utils/release/test-release.sh
index 00a1ac1..4255324 100755
--- a/utils/release/test-release.sh
+++ b/utils/release/test-release.sh
@@ -141,26 +141,8 @@ LogDir=$BuildDir/logs
mkdir -p $LogDir
# Find a compilers.
-c_compiler="`which clang`"
-if [ -z "$c_compiler" ]; then
- c_compiler="`which gcc`"
- if [ -z "$c_compiler" ]; then
- c_compiler="`which cc`"
- if [ -z "$c_compiler" ]; then
- echo "error: cannot find a working C compiler"
- fi
- fi
-fi
-cxx_compiler="`which clang++`"
-if [ -z "$cxx_compiler" ]; then
- cxx_compiler="`which g++`"
- if [ -z "$cxx_compiler" ]; then
- cxx_compiler="`which c++`"
- if [ -z "$cxx_compiler" ]; then
- echo "error: cannot find a working C++ compiler"
- fi
- fi
-fi
+c_compiler="$CC"
+cxx_compiler="$CXX"
# Make sure that the URLs are valid.
function check_valid_urls() {