about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-10-11 10:08:07 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-10-11 10:08:07 -0700
commit62861f8797c5b5257e1d68c37870dc63dfb92830 (patch)
tree3582b7890bc775a0a00f597494233cc87d4465c6 /configure
parent6d620843f62b6cf3182528ffcaa877eba461bfbb (diff)
downloadrust-62861f8797c5b5257e1d68c37870dc63dfb92830.tar.gz
rust-62861f8797c5b5257e1d68c37870dc63dfb92830.zip
configure: Fix gcc detection for LLVM
We have a case where 32-bit compilation accidentally requested clang when gcc
was the only one available.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6cef35beb6d..4d13fce3250 100755
--- a/configure
+++ b/configure
@@ -1638,8 +1638,8 @@ do
         ("ccache gcc")
             LLVM_CXX_32="ccache"
             LLVM_CC_32="ccache"
-            LLVM_CXX_32_ARG1="clang++"
-            LLVM_CC_32_ARG1="clang"
+            LLVM_CXX_32_ARG1="g++"
+            LLVM_CC_32_ARG1="gcc"
 
             LLVM_CXX_64="ccache"
             LLVM_CC_64="ccache"