From aeb9ee02616b49064eeeacd523c74263d2e1f423 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 26 Sep 2014 21:53:12 +0000 Subject: [PATCH] Remove definition of LLVM_VERSION_INFO; this macro is not used by any of the files in this directory. If it should be defined anywhere, it should be defined when building lib/LTO/LTOCodeGenerator.cpp, but we've not had it defined there for quite some time, so that doesn't really seem to be very important. (It also would slow down the modules build by creating extra module variants.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218544 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lto/CMakeLists.txt | 2 -- tools/lto/Makefile | 4 ---- 2 files changed, 6 deletions(-) diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt index f80ee38a3fc..559b22b2c13 100644 --- a/tools/lto/CMakeLists.txt +++ b/tools/lto/CMakeLists.txt @@ -6,8 +6,6 @@ set(LLVM_LINK_COMPONENTS Support ) -add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" ) - set(SOURCES LTODisassembler.cpp lto.cpp diff --git a/tools/lto/Makefile b/tools/lto/Makefile index a4fe9ac77c1..530c05a4731 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -17,10 +17,6 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/lto.exports include $(LEVEL)/Makefile.common -ifdef LLVM_VERSION_INFO -CXX.Flags += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"' -endif - ifeq ($(HOST_OS),Darwin) # Special hack to allow libLTO to have an offset version number. ifdef LLVM_LTO_VERSION_OFFSET