summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-17 22:46:26 +0000
committerEric Christopher <echristo@gmail.com>2015-08-17 22:46:26 +0000
commitf6f6d884be39c1f8f41a039087545f474d7ecdb0 (patch)
treed0ef4bd35207f774f59503a38ccb2ba38f704201 /llvm/autoconf
parentab48abeafafef67d5a27daf4da1e207d4e40c3dc (diff)
downloadbcm5719-llvm-f6f6d884be39c1f8f41a039087545f474d7ecdb0.tar.gz
bcm5719-llvm-f6f6d884be39c1f8f41a039087545f474d7ecdb0.zip
Add an exposed variable for which c++ compiler we're using for our
build. Patch by Chris Bieneman! llvm-svn: 245255
Diffstat (limited to 'llvm/autoconf')
-rw-r--r--llvm/autoconf/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index 26f6ee46889..fb73e51df3f 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -133,6 +133,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#if ! __clang__
llvm_cv_cxx_compiler=gcc, [])])
AC_LANG_POP([C++])
AC_MSG_RESULT([${llvm_cv_cxx_compiler}])
+AC_SUBST(CXX_COMPILER,$llvm_cv_cxx_compiler)
dnl Configure all of the projects present in our source tree. While we could
dnl just AC_CONFIG_SUBDIRS on the set of directories in projects that have a
OpenPOWER on IntegriCloud