diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-08-17 22:46:26 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-08-17 22:46:26 +0000 |
| commit | f6f6d884be39c1f8f41a039087545f474d7ecdb0 (patch) | |
| tree | d0ef4bd35207f774f59503a38ccb2ba38f704201 /llvm/autoconf | |
| parent | ab48abeafafef67d5a27daf4da1e207d4e40c3dc (diff) | |
| download | bcm5719-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.ac | 1 |
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 |

