summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-09-26 21:53:12 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-09-26 21:53:12 +0000
commite06ffe2c2d91da6f369af154546dcc5079b55f84 (patch)
treeda64a31c90f2544ec24a7f879eb733826ec6b132 /llvm/tools
parentca9ae10c1af76a616a10dfe91402a71272c07c8d (diff)
downloadbcm5719-llvm-e06ffe2c2d91da6f369af154546dcc5079b55f84.tar.gz
bcm5719-llvm-e06ffe2c2d91da6f369af154546dcc5079b55f84.zip
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.) llvm-svn: 218544
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/lto/CMakeLists.txt2
-rw-r--r--llvm/tools/lto/Makefile4
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/tools/lto/CMakeLists.txt b/llvm/tools/lto/CMakeLists.txt
index f80ee38a3fc..559b22b2c13 100644
--- a/llvm/tools/lto/CMakeLists.txt
+++ b/llvm/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/llvm/tools/lto/Makefile b/llvm/tools/lto/Makefile
index a4fe9ac77c1..530c05a4731 100644
--- a/llvm/tools/lto/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud