mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
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. llvm-svn: 116632
This commit is contained in:
parent
7f8c3dff07
commit
1f543c9364
@ -24,6 +24,10 @@ LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
ifdef LLVM_VERSION_INFO
|
||||||
|
CXX.Flags += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"'
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST_OS),Darwin)
|
ifeq ($(HOST_OS),Darwin)
|
||||||
# Special hack to allow libLTO to have an offset version number.
|
# Special hack to allow libLTO to have an offset version number.
|
||||||
ifdef LLVM_LTO_VERSION_OFFSET
|
ifdef LLVM_LTO_VERSION_OFFSET
|
||||||
|
Loading…
Reference in New Issue
Block a user