diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-28 16:14:46 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-28 16:14:46 +0000 |
commit | c6750c9bc8e555f632777eb1c69793b3b0dc40f6 (patch) | |
tree | aaa78a2d50dabcb2f2dd0c99410f37b2b5f570ef /Makefile.rules | |
parent | 72d34e1a91e3f2b58559f92e5c1716ba10586bf1 (diff) | |
download | external_llvm-c6750c9bc8e555f632777eb1c69793b3b0dc40f6.zip external_llvm-c6750c9bc8e555f632777eb1c69793b3b0dc40f6.tar.gz external_llvm-c6750c9bc8e555f632777eb1c69793b3b0dc40f6.tar.bz2 |
Fix creation of .bca libraries with EXPORTED_SYMBOLS_LIST, this was putting the
llvm-ld shell wrapper script in the archive, not the relinked object!
Also, rename the temp file to avoid conflicts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 5556684..23e554d 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1058,9 +1058,9 @@ $(LibName.BCA): $(ObjectsBC) $(LibDir)/.dir $(LLVMLD) \ $(LLVMToolDir)/llvm-ar $(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@) \ "(internalize)" - $(Verb) $(BCLinkLib) -o $(ObjDir)/$(LIBRARYNAME).o $(ObjectsBC) + $(Verb) $(BCLinkLib) -o $(ObjDir)/$(LIBRARYNAME).internalize $(ObjectsBC) $(Verb) $(RM) -f $@ - $(Verb) $(LArchive) $@ $(ObjDir)/$(LIBRARYNAME).o + $(Verb) $(LArchive) $@ $(ObjDir)/$(LIBRARYNAME).internalize.bc else $(LibName.BCA): $(ObjectsBC) $(LibDir)/.dir \ $(LLVMToolDir)/llvm-ar |