Remove definition of LLVM_VERSION_INFO; this macro is not used by any of the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 26 Sep 2014 21:53:12 +0000 (21:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 26 Sep 2014 21:53:12 +0000 (21:53 +0000)
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
tools/lto/Makefile

index f80ee38a3fcdab6a5b6afd9b21559521712e439d..559b22b2c13d01066d1bd87e69d89f6400269282 100644 (file)
@@ -6,8 +6,6 @@ set(LLVM_LINK_COMPONENTS
   Support
   )
 
-add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )
-
 set(SOURCES
   LTODisassembler.cpp
   lto.cpp
index a4fe9ac77c178f83a98beef247226c3eb2831fe6..530c05a47318b970b1052d1e6e7e0a593ae3a8f5 100644 (file)
@@ -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