зеркало из https://github.com/microsoft/clang-1.git
Allow customization for the version line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
ad3607da8a
Коммит
5b8cdb524f
|
@ -412,6 +412,9 @@ void Driver::PrintHelp(bool ShowHidden) const {
|
|||
void Driver::PrintVersion(const Compilation &C, llvm::raw_ostream &OS) const {
|
||||
// FIXME: The following handlers should use a callback mechanism, we don't
|
||||
// know what the client would like to do.
|
||||
#ifdef CLANG_VENDOR
|
||||
OS << CLANG_VENDOR;
|
||||
#endif
|
||||
OS << "clang version " CLANG_VERSION_STRING " ("
|
||||
<< getClangSubversionPath();
|
||||
if (unsigned Revision = getClangSubversionRevision())
|
||||
|
|
|
@ -13,5 +13,8 @@ BUILD_ARCHIVE = 1
|
|||
CXXFLAGS = -fno-rtti
|
||||
|
||||
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
|
||||
ifdef CLANG_VENDOR
|
||||
CPPFLAGS += -DCLANG_VENDOR='"$(CLANG_VENDOR) "'
|
||||
endif
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
|
Загрузка…
Ссылка в новой задаче