diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-11-10 01:16:48 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-10 01:16:48 +0000 |
commit | 83337302595a6b85523be8522c2b6105c8e159d1 (patch) | |
tree | d58b00e93760561884cfbc9f454117811f0e1101 /Makefile.rules | |
parent | affc6cf9d2b2b74532ce82027ac4524d1e29a658 (diff) | |
download | llvm-83337302595a6b85523be8522c2b6105c8e159d1.tar.gz llvm-83337302595a6b85523be8522c2b6105c8e159d1.tar.bz2 llvm-83337302595a6b85523be8522c2b6105c8e159d1.tar.xz |
build/Make & CMake: Pass the appropriate --native-target and --enable-targets
options to llvm-build, so the all-targets etc. components are defined properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index e82549d707..78d1f97e14 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -92,6 +92,8 @@ LLVMConfigLibraryDependenciesInc := \ $(LLVMBuildMakeFrag): $(PROJ_SRC_ROOT)/Makefile.rules $(Echo) Constructing LLVMBuild project information. $(Verb) $(LLVMBuildTool) \ + --native-target "$(ARCH)" \ + --enable-targets "$(TARGETS_TO_BUILD)" \ --write-library-table $(LLVMConfigLibraryDependenciesInc) \ --write-make-fragment $(LLVMBuildMakeFrag) |