]> granicus.if.org Git - clang/commit
[Driver] Use llvm-config.h, not config.h to unbreak out-of-tree builds
authorVedant Kumar <vsk@apple.com>
Thu, 18 Aug 2016 06:43:07 +0000 (06:43 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 18 Aug 2016 06:43:07 +0000 (06:43 +0000)
commitdfcd52eb1d8e5d322404b40414cb7331c7380a8c
tree4104a5ebc4f300810146a9c424a087fa06ef67c1
parenta9113f7765946e32e5bd1098cc56c17accde8a60
[Driver] Use llvm-config.h, not config.h to unbreak out-of-tree builds

llvm/Config/config.h has intentionally been excluded from llvm
installations (see: llvm/CMakeLists.txt). Un-break out-of-tree builds
post-r278882 by switching to llvm-config.h, which is exported.

Suggested by Will Dietz!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279035 91177308-0d34-0410-b5e6-96231b3b80d8
tools/driver/cc1_main.cpp