[llvm-commits] [llvm] r116632 - /llvm/trunk/tools/lto/Makefile
Daniel Dunbar
daniel at zuster.org
Fri Oct 15 15:46:15 PDT 2010
Author: ddunbar
Date: Fri Oct 15 17:46:15 2010
New Revision: 116632
URL: http://llvm.org/viewvc/llvm-project?rev=116632&view=rev
Log:
lto: Respect LLVM_VERSION_INFO make variable, since setting CC arguments with
spaces gives tests fits and shell escaping is an art best left to jabberwockies.
Modified:
llvm/trunk/tools/lto/Makefile
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=116632&r1=116631&r2=116632&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Fri Oct 15 17:46:15 2010
@@ -24,6 +24,10 @@
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
More information about the llvm-commits
mailing list