mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
When cross compiling, install a host version of llvm-config. <rdar://11187889>
Now that llvm-config is a binary instead of a script the version installed during a cross compiled build cannot be run from the host. When cross compiling, install a separate llvm-config-host that will run on the host. llvm-svn: 155164
This commit is contained in:
parent
f4472e9a1f
commit
ce811552ae
5
Makefile
5
Makefile
@ -102,6 +102,11 @@ endif
|
|||||||
ifeq ($(LLVM_CROSS_COMPILING),1)
|
ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||||
all:: cross-compile-build-tools
|
all:: cross-compile-build-tools
|
||||||
|
|
||||||
|
install:: $(DESTDIR)$(PROJ_bindir)
|
||||||
|
$(Echo) Installing llvm-config-host
|
||||||
|
$(Verb) $(ProgInstall) $(BuildLLVMToolDir)/llvm-config \
|
||||||
|
$(DESTDIR)$(PROJ_bindir)/llvm-config-host
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
$(Verb) rm -rf BuildTools
|
$(Verb) rm -rf BuildTools
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user